home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 2002 July / APC0702D1.iso / workshop / flash / files / splendos.fla / Symbol 71 < prev    next >
Unknown  |  2002-04-18  |  13.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 01 ff ff 01 00 08 00 43 | 50 69 63 50 61 67 65 01 |.......C|PicPage.|
|00000010| 00 ff ff 01 00 09 00 43 | 50 69 63 4c 61 79 65 72 |.......C|PicLayer|
|00000020| 01 00 ff ff 01 00 09 00 | 43 50 69 63 46 72 61 6d |........|CPicFram|
|00000030| 65 01 00 ff ff 01 00 0a | 00 43 50 69 63 53 70 72 |e.......|.CPicSpr|
|00000040| 69 74 65 01 00 00 00 10 | 00 00 00 3c 00 00 00 0a |ite.....|...<....|
|00000050| 00 00 01 00 00 00 00 00 | 00 00 00 00 00 00 01 00 |........|........|
|00000060| 10 00 00 00 3c 00 00 00 | 00 00 02 00 01 00 01 00 |....<...|........|
|00000070| 00 00 01 00 00 00 01 00 | 00 00 01 00 00 00 00 64 |........|.......d|
|00000080| 00 00 00 00 ff 00 48 00 | 00 00 06 01 00 00 00 01 |......H.|........|
|00000090| 00 00 00 be 6f 00 00 00 | 00 00 00 00 0f 73 75 70 |....o...|.....sup|
|000000a0| 65 72 43 6c 61 73 73 41 | 73 73 65 74 02 01 00 00 |erClassA|sset....|
|000000b0| 00 01 00 01 01 00 01 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 07 bb 3d | ba 50 ed b6 42 a4 0a 5f |.......=|.P..B.._|
|000000d0| cc bc 20 03 be 00 00 00 | 00 00 00 00 00 01 00 00 |.. .....|........|
|000000e0| 00 00 00 00 00 00 80 00 | 00 00 80 02 00 00 01 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 05 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 16 01 00 00 06 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 ff ff ff 3f | ff ff 00 01 00 00 00 01 |.......?|........|
|00000130| 00 00 00 a8 5a 00 00 00 | 00 00 00 00 00 00 00 00 |....Z...|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 01 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 80 00 00 00 80 0a | 0a 53 75 70 65 72 43 6c |........|.SuperCl|
|00000170| 61 73 73 00 01 01 ff ff | ff ff 4f ff 4f ff 00 00 |ass.....|..O.O...|
|00000180| 00 00 01 00 00 00 00 00 | 00 01 00 03 80 01 00 05 |........|........|
|00000190| 80 01 00 07 80 01 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 0a 00 00 01 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 01 00 00 00 00 00 00 00 | 00 00 00 00 02 00 01 00 |........|........|
|000001c0| 01 00 00 00 01 00 00 00 | 01 00 00 00 01 00 00 00 |........|........|
|000001d0| 00 64 00 00 00 00 ff 00 | 4e 00 00 00 06 01 00 00 |.d......|N.......|
|000001e0| 00 01 00 00 00 75 70 00 | 00 00 00 00 00 00 09 69 |.....up.|.......i|
|000001f0| 74 65 6d 41 73 73 65 74 | 02 00 00 00 00 00 00 00 |temAsset|........|
|00000200| 00 00 00 00 00 01 00 00 | 00 00 00 00 00 00 80 00 |........|........|
|00000210| 00 00 80 02 00 00 01 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 01 00 00 00 00 00 | 00 00 00 00 05 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 16 01 00 00 06 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 ff ff ff 3f |........|.......?|
|00000250| ff ff 00 01 00 00 00 01 | 00 00 00 6d 36 00 00 00 |........|...m6...|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 80 00 00 00 80 0a |........|........|
|00000290| 06 41 73 73 65 74 73 00 | 01 01 ff ff ff ff 99 33 |.Assets.|.......3|
|000002a0| cc ff 00 00 00 00 01 00 | 00 00 00 00 00 01 00 03 |........|........|
|000002b0| 80 01 00 05 80 01 00 07 | 80 01 02 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 0a 00 00 | 01 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 85 2b 00 00 00 00 | 00 00 00 00 00 00 00 00 |...+....|........|
|000002e0| 02 00 01 00 01 00 00 00 | 01 00 00 00 01 00 00 00 |........|........|
|000002f0| 01 00 00 00 00 64 00 00 | 00 00 ff 00 43 00 00 00 |.....d..|....C...|
|00000300| 06 01 00 00 00 01 00 00 | 00 00 4f 00 00 00 00 00 |........|..O.....|
|00000310| 00 00 0b 70 72 6f 78 79 | 42 6f 78 5f 6d 63 02 00 |...proxy|Box_mc..|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 01 00 00 00 00 |........|........|
|00000330| 00 00 00 00 80 00 00 00 | 80 02 00 00 01 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 01 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 05 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 16 01 00 00 06 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 ff ff ff 3f ff ff | 00 01 00 00 00 01 00 00 |.....?..|........|
|00000380| 00 7a 17 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.z......|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 01 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 80 00 00 00 80 0a 0c 42 | 6f 75 6e 64 69 6e 67 20 |.......B|ounding |
|000003c0| 42 6f 78 00 00 01 ff ff | ff ff 4f 80 ff ff 00 00 |Box.....|..O.....|
|000003d0| 00 00 01 00 00 00 00 00 | 00 01 00 03 80 01 00 05 |........|........|
|000003e0| 80 01 00 07 80 01 02 00 | 00 14 00 00 00 05 00 00 |........|........|
|000003f0| 00 0a 00 00 01 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 01 00 14 00 00 00 05 00 | 00 00 00 00 02 00 01 00 |........|........|
|00000410| 01 00 00 00 01 00 00 00 | 01 00 00 00 01 00 00 00 |........|........|
|00000420| 00 64 00 00 00 00 ff 00 | 50 00 00 00 06 01 00 00 |.d......|P.......|
|00000430| 00 01 00 00 00 dc 2f 00 | 00 00 00 00 00 00 0b 64 |....../.|.......d|
|00000440| 65 61 64 50 72 65 76 69 | 65 77 02 00 00 00 00 00 |eadPrevi|ew......|
|00000450| 00 00 00 00 00 00 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 80 00 00 00 80 02 00 00 | 01 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 01 00 00 00 | 00 00 00 00 00 00 05 00 |........|........|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 16 01 00 00 |........|........|
|00000490| 06 00 00 00 00 00 00 00 | 00 00 00 00 00 00 ff ff |........|........|
|000004a0| ff 3f ff ff 00 01 00 00 | 00 01 00 00 00 07 66 00 |.?......|......f.|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 01 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 80 00 00 00 |........|........|
|000004e0| 80 0a 04 4e 61 6d 65 00 | 00 01 ff ff ff ff ff ff |...Name.|........|
|000004f0| 4f ff 00 00 00 00 01 00 | 00 00 00 00 00 01 00 03 |O.......|........|
|00000500| 80 01 00 05 80 01 00 00 | 00 00 00 00 80 00 00 00 |........|........|
|00000510| 80 02 00 00 01 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 01 00 00 00 00 00 00 00 | 00 00 05 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 16 01 00 00 06 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 ff ff ff 3f ff ff |........|.....?..|
|00000550| 00 01 00 00 00 01 00 00 | 00 b7 72 00 00 00 00 00 |........|..r.....|
|00000560| 00 ff 8a 30 23 69 6e 69 | 74 63 6c 69 70 20 33 0a |...0#ini|tclip 3.|
|00000570| 2f 2a 0a 0a 09 09 46 43 | 6f 6d 62 6f 42 6f 78 43 |/*....FC|omboBoxC|
|00000580| 6c 61 73 73 0a 09 09 45 | 58 54 45 4e 44 53 20 46 |lass...E|XTENDS F|
|00000590| 53 63 72 6f 6c 6c 53 65 | 6c 65 63 74 4c 69 73 74 |ScrollSe|lectList|
|000005a0| 43 6c 61 73 73 0a 09 09 | 0a 09 09 54 68 69 73 20 |Class...|...This |
|000005b0| 63 6c 61 73 73 20 6d 61 | 6e 61 67 65 73 20 61 20 |class ma|nages a |
|000005c0| 22 70 75 6c 6c 64 6f 77 | 6e 22 20 73 63 72 6f 6c |"pulldow|n" scrol|
|000005d0| 6c 69 6e 67 20 6c 69 73 | 74 2e 0a 0a 2a 2f 0a 0a |ling lis|t...*/..|
|000005e0| 66 75 6e 63 74 69 6f 6e | 20 46 43 6f 6d 62 6f 42 |function| FComboB|
|000005f0| 6f 78 43 6c 61 73 73 28 | 29 0a 7b 0a 09 5f 67 6c |oxClass(|).{.._gl|
|00000600| 6f 62 61 6c 2e 5f 70 6f | 70 55 70 4c 65 76 65 6c |obal._po|pUpLevel|
|00000610| 20 3d 20 28 5f 67 6c 6f | 62 61 6c 2e 5f 70 6f 70 | = (_glo|bal._pop|
|00000620| 55 70 4c 65 76 65 6c 3d | 3d 75 6e 64 65 66 69 6e |UpLevel=|=undefin|
|00000630| 65 64 29 20 3f 20 32 30 | 30 30 30 20 3a 20 5f 67 |ed) ? 20|000 : _g|
|00000640| 6c 6f 62 61 6c 2e 5f 70 | 6f 70 55 70 4c 65 76 65 |lobal._p|opUpLeve|
|00000650| 6c 2b 31 3b 0a 09 0a 09 | 2f 2f 20 54 65 73 74 69 |l+1;....|// Testi|
|00000660| 6e 67 20 66 6f 72 20 5f | 72 6f 6f 74 27 73 20 65 |ng for _|root's e|
|00000670| 78 69 73 74 65 6e 63 65 | 3f 0a 09 74 68 69 73 2e |xistence|?..this.|
|00000680| 73 75 70 65 72 48 6f 6c | 64 65 72 20 3d 20 5f 72 |superHol|der = _r|
|00000690| 6f 6f 74 2e 63 72 65 61 | 74 65 45 6d 70 74 79 4d |oot.crea|teEmptyM|
|000006a0| 6f 76 69 65 43 6c 69 70 | 28 22 73 75 70 65 72 48 |ovieClip|("superH|
|000006b0| 6f 6c 64 65 72 22 20 2b | 20 5f 70 6f 70 55 70 4c |older" +| _popUpL|
|000006c0| 65 76 65 6c 2c 20 5f 70 | 6f 70 55 70 4c 65 76 65 |evel, _p|opUpLeve|
|000006d0| 6c 29 3b 0a 09 76 61 72 | 20 74 65 73 74 43 6f 6e |l);..var| testCon|
|000006e0| 74 61 69 6e 65 72 20 3d | 20 74 68 69 73 2e 73 75 |tainer =| this.su|
|000006f0| 70 65 72 48 6f 6c 64 65 | 72 2e 63 72 65 61 74 65 |perHolde|r.create|
|00000700| 45 6d 70 74 79 4d 6f 76 | 69 65 43 6c 69 70 28 22 |EmptyMov|ieClip("|
|00000710| 74 65 73 74 43 6f 6e 74 | 22 2c 20 32 30 30 30 30 |testCont|", 20000|
|00000720| 29 3b 0a 09 76 61 72 20 | 74 65 73 74 42 6f 78 20 |);..var |testBox |
|00000730| 3d 20 74 65 73 74 43 6f | 6e 74 61 69 6e 65 72 2e |= testCo|ntainer.|
|00000740| 61 74 74 61 63 68 4d 6f | 76 69 65 28 22 46 42 6f |attachMo|vie("FBo|
|00000750| 75 6e 64 69 6e 67 42 6f | 78 53 79 6d 62 6f 6c 22 |undingBo|xSymbol"|
|00000760| 2c 20 22 62 6f 75 6e 64 | 69 6e 67 42 6f 78 5f 6d |, "bound|ingBox_m|
|00000770| 63 22 2c 20 30 29 3b 0a | 09 0a 09 69 66 20 28 74 |c", 0);.|...if (t|
|00000780| 65 73 74 42 6f 78 2e 5f | 6e 61 6d 65 3d 3d 75 6e |estBox._|name==un|
|00000790| 64 65 66 69 6e 65 64 29 | 20 7b 0a 09 09 2f 2f 20 |defined)| {...// |
|000007a0| 5f 72 6f 6f 74 20 64 6f | 65 73 6e 27 74 20 65 78 |_root do|esn't ex|
|000007b0| 69 73 74 2e 20 0a 09 09 | 74 68 69 73 2e 73 75 70 |ist. ...|this.sup|
|000007c0| 65 72 48 6f 6c 64 65 72 | 2e 72 65 6d 6f 76 65 4d |erHolder|.removeM|
|000007d0| 6f 76 69 65 43 6c 69 70 | 28 29 3b 0a 09 09 74 68 |ovieClip|();...th|
|000007e0| 69 73 2e 73 75 70 65 72 | 48 6f 6c 64 65 72 20 3d |is.super|Holder =|
|000007f0| 20 74 68 69 73 2e 5f 70 | 61 72 65 6e 74 2e 63 72 | this._p|arent.cr|
|00000800| 65 61 74 65 45 6d 70 74 | 79 4d 6f 76 69 65 43 6c |eateEmpt|yMovieCl|
|00000810| 69 70 28 22 73 75 70 65 | 72 48 6f 6c 64 65 72 22 |ip("supe|rHolder"|
|00000820| 20 2b 20 5f 70 6f 70 55 | 70 4c 65 76 65 6c 2c 20 | + _popU|pLevel, |
|00000830| 5f 70 6f 70 55 70 4c 65 | 76 65 6c 29 3b 0a 09 7d |_popUpLe|vel);..}|
|00000840| 20 65 6c 73 65 20 7b 0a | 09 09 74 65 73 74 43 6f | else {.|..testCo|
|00000850| 6e 74 61 69 6e 65 72 2e | 72 65 6d 6f 76 65 4d 6f |ntainer.|removeMo|
|00000860| 76 69 65 43 6c 69 70 28 | 29 3b 0a 09 7d 0a 09 0a |vieClip(|);..}...|
|00000870| 09 69 66 20 28 74 68 69 | 73 2e 72 6f 77 43 6f 75 |.if (thi|s.rowCou|
|00000880| 6e 74 3d 3d 75 6e 64 65 | 66 69 6e 65 64 29 20 7b |nt==unde|fined) {|
|00000890| 0a 09 09 74 68 69 73 2e | 72 6f 77 43 6f 75 6e 74 |...this.|rowCount|
|000008a0| 3d 38 3b 0a 09 09 74 68 | 69 73 2e 65 64 69 74 61 |=8;...th|is.edita|
|000008b0| 62 6c 65 20 3d 20 66 61 | 6c 73 65 3b 0a 09 7d 0a |ble = fa|lse;..}.|
|000008c0| 0a 09 74 68 69 73 2e 69 | 74 65 6d 53 79 6d 62 6f |..this.i|temSymbo|
|000008d0| 6c 20 3d 20 22 46 43 6f | 6d 62 6f 42 6f 78 49 74 |l = "FCo|mboBoxIt|
|000008e0| 65 6d 53 79 6d 62 6f 6c | 22 3b 0a 09 74 68 69 73 |emSymbol|";..this|
|000008f0| 2e 69 6e 69 74 28 29 3b | 0a 09 74 68 69 73 2e 70 |.init();|..this.p|
|00000900| 65 72 6d 61 53 63 72 6f | 6c 6c 42 61 72 20 3d 20 |ermaScro|llBar = |
|00000910| 66 61 6c 73 65 3b 0a 09 | 74 68 69 73 2e 70 72 6f |false;..|this.pro|
|00000920| 78 79 42 6f 78 5f 6d 63 | 2e 67 6f 74 6f 41 6e 64 |xyBox_mc|.gotoAnd|
|00000930| 53 74 6f 70 28 31 29 3b | 0a 09 74 68 69 73 2e 77 |Stop(1);|..this.w|
|00000940| 69 64 74 68 20 3d 20 74 | 68 69 73 2e 5f 77 69 64 |idth = t|his._wid|
|00000950| 74 68 3b 0a 09 74 68 69 | 73 2e 68 65 69 67 68 74 |th;..thi|s.height|
|00000960| 20 3d 74 68 69 73 2e 70 | 72 6f 78 79 42 6f 78 5f | =this.p|roxyBox_|
|00000970| 6d 63 2e 5f 68 65 69 67 | 68 74 2a 74 68 69 73 2e |mc._heig|ht*this.|
|00000980| 5f 79 73 63 61 6c 65 2f | 31 30 30 3b 0a 09 0a 09 |_yscale/|100;....|
|00000990| 66 6f 72 20 28 76 61 72 | 20 69 3d 30 3b 20 69 3c |for (var| i=0; i<|
|000009a0| 74 68 69 73 2e 6c 61 62 | 65 6c 73 2e 6c 65 6e 67 |this.lab|els.leng|
|000009b0| 74 68 3b 20 69 2b 2b 29 | 20 7b 0a 09 09 74 68 69 |th; i++)| {...thi|
|000009c0| 73 2e 61 64 64 49 74 65 | 6d 28 74 68 69 73 2e 6c |s.addIte|m(this.l|
|000009d0| 61 62 65 6c 73 5b 69 5d | 2c 20 74 68 69 73 2e 64 |abels[i]|, this.d|
|000009e0| 61 74 61 5b 69 5d 29 3b | 0a 09 7d 0a 09 74 68 69 |ata[i]);|..}..thi|
|000009f0| 73 2e 6c 61 73 74 53 65 | 6c 65 63 74 65 64 20 3d |s.lastSe|lected =|
|00000a00| 20 30 3b 0a 09 74 68 69 | 73 2e 73 65 6c 65 63 74 | 0;..thi|s.select|
|00000a10| 49 74 65 6d 28 30 29 3b | 0a 09 74 68 69 73 2e 5f |Item(0);|..this._|
|00000a20| 78 73 63 61 6c 65 20 3d | 20 74 68 69 73 2e 5f 79 |xscale =| this._y|
|00000a30| 73 63 61 6c 65 20 3d 20 | 31 30 30 3b 0a 09 74 68 |scale = |100;..th|
|00000a40| 69 73 2e 6f 70 65 6e 65 | 64 20 3d 20 66 61 6c 73 |is.opene|d = fals|
|00000a50| 65 3b 0a 09 74 68 69 73 | 2e 73 65 74 53 69 7a 65 |e;..this|.setSize|
|00000a60| 28 74 68 69 73 2e 77 69 | 64 74 68 29 3b 0a 09 74 |(this.wi|dth);..t|
|00000a70| 68 69 73 2e 68 69 67 68 | 6c 69 67 68 74 54 6f 70 |his.high|lightTop|
|00000a80| 28 66 61 6c 73 65 29 3b | 0a 09 69 66 20 28 74 68 |(false);|..if (th|
|00000a90| 69 73 2e 63 68 61 6e 67 | 65 48 61 6e 64 6c 65 72 |is.chang|eHandler|
|00000aa0| 2e 6c 65 6e 67 74 68 3e | 30 29 20 7b 0a 09 09 74 |.length>|0) {...t|
|00000ab0| 68 69 73 2e 73 65 74 43 | 68 61 6e 67 65 48 61 6e |his.setC|hangeHan|
|00000ac0| 64 6c 65 72 28 74 68 69 | 73 2e 63 68 61 6e 67 65 |dler(thi|s.change|
|00000ad0| 48 61 6e 64 6c 65 72 29 | 3b 0a 09 7d 0a 09 74 68 |Handler)|;..}..th|
|00000ae0| 69 73 2e 6f 6e 55 6e 6c | 6f 61 64 20 3d 20 66 75 |is.onUnl|oad = fu|
|00000af0| 6e 63 74 69 6f 6e 28 29 | 0a 09 7b 0a 09 09 74 68 |nction()|..{...th|
|00000b00| 69 73 2e 73 75 70 65 72 | 48 6f 6c 64 65 72 2e 72 |is.super|Holder.r|
|00000b10| 65 6d 6f 76 65 4d 6f 76 | 69 65 43 6c 69 70 28 29 |emoveMov|ieClip()|
|00000b20| 3b 0a 09 7d 0a 0a 09 74 | 68 69 73 2e 73 65 74 53 |;..}...t|his.setS|
|00000b30| 65 6c 65 63 74 65 64 49 | 6e 64 65 78 28 30 2c 20 |electedI|ndex(0, |
|00000b40| 66 61 6c 73 65 29 3b 0a | 09 74 68 69 73 2e 76 61 |false);.|.this.va|
|00000b50| 6c 75 65 20 3d 20 22 22 | 3b 0a 09 74 68 69 73 2e |lue = ""|;..this.|
|00000b60| 66 6f 63 75 73 45 6e 61 | 62 6c 65 64 20 3d 20 74 |focusEna|bled = t|
|00000b70| 72 75 65 3b 0a 09 74 68 | 69 73 2e 63 68 61 6e 67 |rue;..th|is.chang|
|00000b80| 65 46 6c 61 67 20 3d 20 | 66 61 6c 73 65 3b 0a 7d |eFlag = |false;.}|
|00000b90| 0a 0a 46 43 6f 6d 62 6f | 42 6f 78 43 6c 61 73 73 |..FCombo|BoxClass|
|00000ba0| 2e 70 72 6f 74 6f 74 79 | 70 65 20 3d 20 6e 65 77 |.prototy|pe = new|
|00000bb0| 20 46 53 63 72 6f 6c 6c | 53 65 6c 65 63 74 4c 69 | FScroll|SelectLi|
|00000bc0| 73 74 43 6c 61 73 73 28 | 29 3b 0a 0a 4f 62 6a 65 |stClass(|);..Obje|
|00000bd0| 63 74 2e 72 65 67 69 73 | 74 65 72 43 6c 61 73 73 |ct.regis|terClass|
|00000be0| 28 22 46 43 6f 6d 62 6f | 42 6f 78 53 79 6d 62 6f |("FCombo|BoxSymbo|
|00000bf0| 6c 22 2c 20 46 43 6f 6d | 62 6f 42 6f 78 43 6c 61 |l", FCom|boBoxCla|
|00000c00| 73 73 29 3b 0a 0a 0a 0a | 2f 2f 20 3a 3a 3a 20 50 |ss);....|// ::: P|
|00000c10| 55 42 4c 49 43 20 4d 45 | 54 48 4f 44 53 0a 0a 0a |UBLIC ME|THODS...|
|00000c20| 46 43 6f 6d 62 6f 42 6f | 78 43 6c 61 73 73 2e 70 |FComboBo|xClass.p|
|00000c30| 72 6f 74 6f 74 79 70 65 | 2e 6d 6f 64 65 6c 43 68 |rototype|.modelCh|
|00000c40| 61 6e 67 65 64 20 3d 20 | 66 75 6e 63 74 69 6f 6e |anged = |function|
|00000c50| 28 65 76 65 6e 74 4f 62 | 6a 29 0a 7b 0a 09 73 75 |(eventOb|j).{..su|
|00000c60| 70 65 72 2e 6d 6f 64 65 | 6c 43 68 61 6e 67 65 64 |per.mode|lChanged|
|00000c70| 28 65 76 65 6e 74 4f 62 | 6a 29 3b 0a 09 76 61 72 |(eventOb|j);..var|
|00000c80| 20 65 76 65 6e 74 20 3d | 20 65 76 65 6e 74 4f 62 | event =| eventOb|
|00000c90| 6a 2e 65 76 65 6e 74 3b | 09 0a 09 69 66 20 28 65 |j.event;|...if (e|
|00000ca0| 76 65 6e 74 3d 3d 22 61 | 64 64 52 6f 77 73 22 20 |vent=="a|ddRows" |
|00000cb0| 7c 7c 20 65 76 65 6e 74 | 3d 3d 22 64 65 6c 65 74 ||| event|=="delet|
|00000cc0| 65 52 6f 77 73 22 29 20 | 7b 0a 09 09 76 61 72 20 |eRows") |{...var |
|00000cd0| 64 69 66 66 20 3d 20 65 | 76 65 6e 74 4f 62 6a 2e |diff = e|ventObj.|
|00000ce0| 6c 61 73 74 52 6f 77 20 | 2d 20 65 76 65 6e 74 4f |lastRow |- eventO|
|00000cf0| 62 6a 2e 66 69 72 73 74 | 52 6f 77 20 2b 20 31 3b |bj.first|Row + 1;|
|00000d00| 0a 09 09 76 61 72 20 6d | 6f 64 65 20 3d 20 28 65 |...var m|ode = (e|
|00000d10| 76 65 6e 74 3d 3d 22 61 | 64 64 52 6f 77 73 22 29 |vent=="a|ddRows")|
|00000d20| 20 3f 20 31 20 3a 20 2d | 31 3b 0a 09 09 76 61 72 | ? 1 : -|1;...var|
|00000d30| 20 6c 65 6e 20 3d 20 74 | 68 69 73 2e 67 65 74 4c | len = t|his.getL|
|00000d40| 65 6e 67 74 68 28 29 3b | 0a 09 09 76 61 72 20 6c |ength();|...var l|
|00000d50| 65 6e 42 65 66 6f 72 65 | 20 3d 20 6c 65 6e 2d 6d |enBefore| = len-m|
|00000d60| 6f 64 65 2a 64 69 66 66 | 3b 0a 09 09 69 66 20 28 |ode*diff|;...if (|
|00000d70| 74 68 69 73 2e 72 6f 77 | 43 6f 75 6e 74 3e 6c 65 |this.row|Count>le|
|00000d80| 6e 42 65 66 6f 72 65 20 | 7c 7c 20 74 68 69 73 2e |nBefore ||| this.|
|00000d90| 72 6f 77 43 6f 75 6e 74 | 3e 6c 65 6e 29 20 7b 0a |rowCount|>len) {.|
|00000da0| 09 09 09 74 68 69 73 2e | 69 6e 76 61 6c 69 64 61 |...this.|invalida|
|00000db0| 74 65 28 22 73 65 74 53 | 69 7a 65 22 29 3b 0a 09 |te("setS|ize");..|
|00000dc0| 09 7d 0a 09 09 69 66 20 | 28 74 68 69 73 2e 67 65 |.}...if |(this.ge|
|00000dd0| 74 53 65 6c 65 63 74 65 | 64 49 6e 64 65 78 28 29 |tSelecte|dIndex()|
|00000de0| 3d 3d 75 6e 64 65 66 69 | 6e 65 64 29 20 7b 0a 09 |==undefi|ned) {..|
|00000df0| 09 09 74 68 69 73 2e 73 | 65 74 53 65 6c 65 63 74 |..this.s|etSelect|
|00000e00| 65 64 49 6e 64 65 78 28 | 30 2c 20 66 61 6c 73 65 |edIndex(|0, false|
|00000e10| 29 3b 0a 09 09 7d 0a 09 | 7d 20 65 6c 73 65 20 69 |);...}..|} else i|
|00000e20| 66 20 28 65 76 65 6e 74 | 3d 3d 22 75 70 64 61 74 |f (event|=="updat|
|00000e30| 65 41 6c 6c 22 29 20 7b | 0a 09 09 74 68 69 73 2e |eAll") {|...this.|
|00000e40| 69 6e 76 61 6c 69 64 61 | 74 65 28 22 73 65 74 53 |invalida|te("setS|
|00000e50| 69 7a 65 22 29 3b 0a 09 | 7d 0a 7d 0a 0a 46 43 6f |ize");..|}.}..FCo|
|00000e60| 6d 62 6f 42 6f 78 43 6c | 61 73 73 2e 70 72 6f 74 |mboBoxCl|ass.prot|
|00000e70| 6f 74 79 70 65 2e 72 65 | 6d 6f 76 65 41 6c 6c 20 |otype.re|moveAll |
|00000e80| 3d 20 66 75 6e 63 74 69 | 6f 6e 28 29 0a 7b 0a 09 |= functi|on().{..|
|00000e90| 69 66 20 28 21 74 68 69 | 73 2e 65 6e 61 62 6c 65 |if (!thi|s.enable|
|00000ea0| 29 20 7b 0a 09 09 72 65 | 74 75 72 6e 3b 0a 09 7d |) {...re|turn;..}|
|00000eb0| 0a 09 73 75 70 65 72 2e | 72 65 6d 6f 76 65 41 6c |..super.|removeAl|
|00000ec0| 6c 28 29 3b 0a 09 69 66 | 20 28 74 68 69 73 2e 65 |l();..if| (this.e|
|00000ed0| 64 69 74 61 62 6c 65 29 | 20 74 68 69 73 2e 76 61 |ditable)| this.va|
|00000ee0| 6c 75 65 3d 22 22 3b 0a | 09 74 68 69 73 2e 69 6e |lue="";.|.this.in|
|00000ef0| 76 61 6c 69 64 61 74 65 | 28 22 73 65 74 53 69 7a |validate|("setSiz|
|00000f00| 65 22 29 3b 0a 7d 0a 0a | 0a 46 43 6f 6d 62 6f 42 |e");.}..|.FComboB|
|00000f10| 6f 78 43 6c 61 73 73 2e | 70 72 6f 74 6f 74 79 70 |oxClass.|prototyp|
|00000f20| 65 2e 73 65 74 53 69 7a | 65 20 3d 20 66 75 6e 63 |e.setSiz|e = func|
|00000f30| 74 69 6f 6e 28 77 29 0a | 7b 0a 09 69 66 20 28 77 |tion(w).|{..if (w|
|00000f40| 3d 3d 75 6e 64 65 66 69 | 6e 65 64 20 7c 7c 20 74 |==undefi|ned || t|
|00000f50| 79 70 65 6f 66 28 77 29 | 21 3d 22 6e 75 6d 62 65 |ypeof(w)|!="numbe|
|00000f60| 72 22 20 7c 7c 20 77 3c | 3d 30 20 7c 7c 20 21 74 |r" || w<|=0 || !t|
|00000f70| 68 69 73 2e 65 6e 61 62 | 6c 65 29 20 7b 0a 09 09 |his.enab|le) {...|
|00000f80| 72 65 74 75 72 6e 3b 0a | 09 7d 0a 09 74 68 69 73 |return;.|.}..this|
|00000f90| 2e 70 72 6f 78 79 42 6f | 78 5f 6d 63 2e 5f 77 69 |.proxyBo|x_mc._wi|
|00000fa0| 64 74 68 20 3d 20 77 3b | 0a 09 74 68 69 73 2e 63 |dth = w;|..this.c|
|00000fb0| 6f 6e 74 61 69 6e 65 72 | 5f 6d 63 2e 72 65 6d 6f |ontainer|_mc.remo|
|00000fc0| 76 65 4d 6f 76 69 65 43 | 6c 69 70 28 29 3b 0a 09 |veMovieC|lip();..|
|00000fd0| 74 68 69 73 2e 6d 65 61 | 73 75 72 65 49 74 6d 48 |this.mea|sureItmH|
|00000fe0| 67 74 28 29 3b 0a 09 0a | 09 74 68 69 73 2e 63 6f |gt();...|.this.co|
|00000ff0| 6e 74 61 69 6e 65 72 5f | 6d 63 20 3d 20 74 68 69 |ntainer_|mc = thi|
|00001000| 73 2e 73 75 70 65 72 48 | 6f 6c 64 65 72 2e 63 72 |s.superH|older.cr|
|00001010| 65 61 74 65 45 6d 70 74 | 79 4d 6f 76 69 65 43 6c |eateEmpt|yMovieCl|
|00001020| 69 70 28 22 63 6f 6e 74 | 61 69 6e 65 72 22 2c 20 |ip("cont|ainer", |
|00001030| 33 29 3b 0a 09 0a 09 74 | 68 69 73 2e 63 6f 6e 74 |3);....t|his.cont|
|00001040| 61 69 6e 65 72 5f 6d 63 | 2e 74 61 62 43 68 69 6c |ainer_mc|.tabChil|
|00001050| 64 72 65 6e 20 3d 20 66 | 61 6c 73 65 3b 0a 09 74 |dren = f|alse;..t|
|00001060| 68 69 73 2e 73 65 74 50 | 6f 70 55 70 4c 6f 63 61 |his.setP|opUpLoca|
|00001070| 74 69 6f 6e 28 74 68 69 | 73 2e 63 6f 6e 74 61 69 |tion(thi|s.contai|
|00001080| 6e 65 72 5f 6d 63 29 3b | 0a 09 74 68 69 73 2e 63 |ner_mc);|..this.c|
|00001090| 6f 6e 74 61 69 6e 65 72 | 5f 6d 63 2e 61 74 74 61 |ontainer|_mc.atta|
|000010a0| 63 68 4d 6f 76 69 65 28 | 22 46 42 6f 75 6e 64 69 |chMovie(|"FBoundi|
|000010b0| 6e 67 42 6f 78 53 79 6d | 62 6f 6c 22 2c 20 22 62 |ngBoxSym|bol", "b|
|000010c0| 6f 75 6e 64 69 6e 67 42 | 6f 78 5f 6d 63 22 2c 20 |oundingB|ox_mc", |
|000010d0| 30 29 3b 0a 09 74 68 69 | 73 2e 62 6f 75 6e 64 69 |0);..thi|s.boundi|
|000010e0| 6e 67 42 6f 78 5f 6d 63 | 20 3d 20 74 68 69 73 2e |ngBox_mc| = this.|
|000010f0| 63 6f 6e 74 61 69 6e 65 | 72 5f 6d 63 2e 62 6f 75 |containe|r_mc.bou|
|00001100| 6e 64 69 6e 67 42 6f 78 | 5f 6d 63 3b 0a 09 74 68 |ndingBox|_mc;..th|
|00001110| 69 73 2e 62 6f 75 6e 64 | 69 6e 67 42 6f 78 5f 6d |is.bound|ingBox_m|
|00001120| 63 2e 63 6f 6d 70 6f 6e | 65 6e 74 20 3d 20 74 68 |c.compon|ent = th|
|00001130| 69 73 3b 0a 09 74 68 69 | 73 2e 72 65 67 69 73 74 |is;..thi|s.regist|
|00001140| 65 72 53 6b 69 6e 45 6c | 65 6d 65 6e 74 28 74 68 |erSkinEl|ement(th|
|00001150| 69 73 2e 62 6f 75 6e 64 | 69 6e 67 42 6f 78 5f 6d |is.bound|ingBox_m|
|00001160| 63 2e 62 6f 75 6e 64 69 | 6e 67 42 6f 78 2c 20 22 |c.boundi|ngBox, "|
|00001170| 62 61 63 6b 67 72 6f 75 | 6e 64 22 29 3b 0a 09 74 |backgrou|nd");..t|
|00001180| 68 69 73 2e 70 72 6f 78 | 79 42 6f 78 5f 6d 63 2e |his.prox|yBox_mc.|
|00001190| 5f 68 65 69 67 68 74 20 | 3d 20 74 68 69 73 2e 69 |_height |= this.i|
|000011a0| 74 6d 48 67 74 3b 0a 09 | 0a 09 74 68 69 73 2e 6e |tmHgt;..|..this.n|
|000011b0| 75 6d 44 69 73 70 6c 61 | 79 65 64 20 3d 20 4d 61 |umDispla|yed = Ma|
|000011c0| 74 68 2e 6d 69 6e 28 74 | 68 69 73 2e 72 6f 77 43 |th.min(t|his.rowC|
|000011d0| 6f 75 6e 74 2c 20 74 68 | 69 73 2e 67 65 74 4c 65 |ount, th|is.getLe|
|000011e0| 6e 67 74 68 28 29 29 3b | 0a 09 69 66 20 28 74 68 |ngth());|..if (th|
|000011f0| 69 73 2e 6e 75 6d 44 69 | 73 70 6c 61 79 65 64 3c |is.numDi|splayed<|
|00001200| 33 29 20 7b 0a 09 09 74 | 68 69 73 2e 6e 75 6d 44 |3) {...t|his.numD|
|00001210| 69 73 70 6c 61 79 65 64 | 20 3d 20 4d 61 74 68 2e |isplayed| = Math.|
|00001220| 6d 69 6e 28 33 2c 20 74 | 68 69 73 2e 67 65 74 4c |min(3, t|his.getL|
|00001230| 65 6e 67 74 68 28 29 29 | 3b 0a 09 7d 0a 09 74 68 |ength())|;..}..th|
|00001240| 69 73 2e 68 65 69 67 68 | 74 20 3d 20 74 68 69 73 |is.heigh|t = this|
|00001250| 2e 6e 75 6d 44 69 73 70 | 6c 61 79 65 64 20 2a 20 |.numDisp|layed * |
|00001260| 28 74 68 69 73 2e 69 74 | 6d 48 67 74 2d 32 29 20 |(this.it|mHgt-2) |
|00001270| 2b 20 32 3b 0a 09 73 75 | 70 65 72 2e 73 65 74 53 |+ 2;..su|per.setS|
|00001280| 69 7a 65 28 77 2c 20 74 | 68 69 73 2e 68 65 69 67 |ize(w, t|his.heig|
|00001290| 68 74 29 3b 0a 0a 09 74 | 68 69 73 2e 61 74 74 61 |ht);...t|his.atta|
|000012a0| 63 68 4d 6f 76 69 65 28 | 22 44 6f 77 6e 41 72 72 |chMovie(|"DownArr|
|000012b0| 6f 77 22 2c 20 22 64 6f | 77 6e 41 72 72 6f 77 22 |ow", "do|wnArrow"|
|000012c0| 2c 20 31 30 29 3b 0a 09 | 74 68 69 73 2e 64 6f 77 |, 10);..|this.dow|
|000012d0| 6e 41 72 72 6f 77 2e 5f | 79 20 3d 20 30 3b 0a 09 |nArrow._|y = 0;..|
|000012e0| 74 68 69 73 2e 64 6f 77 | 6e 41 72 72 6f 77 2e 5f |this.dow|nArrow._|
|000012f0| 77 69 64 74 68 20 3d 20 | 74 68 69 73 2e 69 74 6d |width = |this.itm|
|00001300| 48 67 74 3b 0a 09 74 68 | 69 73 2e 64 6f 77 6e 41 |Hgt;..th|is.downA|
|00001310| 72 72 6f 77 2e 5f 68 65 | 69 67 68 74 20 3d 20 74 |rrow._he|ight = t|
|00001320| 68 69 73 2e 69 74 6d 48 | 67 74 3b 0a 09 74 68 69 |his.itmH|gt;..thi|
|00001330| 73 2e 64 6f 77 6e 41 72 | 72 6f 77 2e 5f 78 20 3d |s.downAr|row._x =|
|00001340| 20 74 68 69 73 2e 70 72 | 6f 78 79 42 6f 78 5f 6d | this.pr|oxyBox_m|
|00001350| 63 2e 5f 77 69 64 74 68 | 2d 74 68 69 73 2e 64 6f |c._width|-this.do|
|00001360| 77 6e 41 72 72 6f 77 2e | 5f 77 69 64 74 68 3b 0a |wnArrow.|_width;.|
|00001370| 09 74 68 69 73 2e 73 65 | 74 45 64 69 74 61 62 6c |.this.se|tEditabl|
|00001380| 65 28 74 68 69 73 2e 65 | 64 69 74 61 62 6c 65 29 |e(this.e|ditable)|
|00001390| 3b 0a 09 74 68 69 73 2e | 63 6f 6e 74 61 69 6e 65 |;..this.|containe|
|000013a0| 72 5f 6d 63 2e 5f 76 69 | 73 69 62 6c 65 20 3d 20 |r_mc._vi|sible = |
|000013b0| 74 68 69 73 2e 6f 70 65 | 6e 65 64 3b 0a 09 74 68 |this.ope|ned;..th|
|000013c0| 69 73 2e 68 69 67 68 6c | 69 67 68 74 54 6f 70 28 |is.highl|ightTop(|
|000013d0| 66 61 6c 73 65 29 3b 0a | 09 0a 09 74 68 69 73 2e |false);.|...this.|
|000013e0| 66 61 64 65 72 20 3d 20 | 74 68 69 73 2e 73 75 70 |fader = |this.sup|
|000013f0| 65 72 48 6f 6c 64 65 72 | 2e 61 74 74 61 63 68 4d |erHolder|.attachM|
|00001400| 6f 76 69 65 28 22 46 42 | 6f 75 6e 64 69 6e 67 42 |ovie("FB|oundingB|
|00001410| 6f 78 53 79 6d 62 6f 6c | 22 2c 20 22 66 61 64 65 |oxSymbol|", "fade|
|00001420| 72 58 22 2c 20 34 29 3b | 0a 09 74 68 69 73 2e 72 |rX", 4);|..this.r|
|00001430| 65 67 69 73 74 65 72 53 | 6b 69 6e 45 6c 65 6d 65 |egisterS|kinEleme|
|00001440| 6e 74 28 74 68 69 73 2e | 66 61 64 65 72 2e 62 6f |nt(this.|fader.bo|
|00001450| 75 6e 64 69 6e 67 42 6f | 78 2c 20 22 62 61 63 6b |undingBo|x, "back|
|00001460| 67 72 6f 75 6e 64 22 29 | 3b 0a 09 74 68 69 73 2e |ground")|;..this.|
|00001470| 66 61 64 65 72 2e 5f 77 | 69 64 74 68 20 3d 20 74 |fader._w|idth = t|
|00001480| 68 69 73 2e 77 69 64 74 | 68 3b 0a 09 74 68 69 73 |his.widt|h;..this|
|00001490| 2e 66 61 64 65 72 2e 5f | 68 65 69 67 68 74 20 3d |.fader._|height =|
|000014a0| 20 74 68 69 73 2e 68 65 | 69 67 68 74 3b 0a 09 74 | this.he|ight;..t|
|000014b0| 68 69 73 2e 66 61 64 65 | 72 2e 5f 76 69 73 69 62 |his.fade|r._visib|
|000014c0| 6c 65 20 3d 20 66 61 6c | 73 65 3b 0a 0a 7d 0a 0a |le = fal|se;..}..|
|000014d0| 46 43 6f 6d 62 6f 42 6f | 78 43 6c 61 73 73 2e 70 |FComboBo|xClass.p|
|000014e0| 72 6f 74 6f 74 79 70 65 | 2e 73 65 74 44 61 74 61 |rototype|.setData|
|000014f0| 50 72 6f 76 69 64 65 72 | 20 3d 20 66 75 6e 63 74 |Provider| = funct|
|00001500| 69 6f 6e 28 64 70 29 0a | 7b 0a 09 73 75 70 65 72 |ion(dp).|{..super|
|00001510| 2e 73 65 74 44 61 74 61 | 50 72 6f 76 69 64 65 72 |.setData|Provider|
|00001520| 28 64 70 29 3b 0a 09 74 | 68 69 73 2e 69 6e 76 61 |(dp);..t|his.inva|
|00001530| 6c 69 64 61 74 65 28 22 | 73 65 74 53 69 7a 65 22 |lidate("|setSize"|
|00001540| 29 3b 0a 09 74 68 69 73 | 2e 73 65 74 53 65 6c 65 |);..this|.setSele|
|00001550| 63 74 65 64 49 6e 64 65 | 78 28 30 29 3b 0a 7d 0a |ctedInde|x(0);.}.|
|00001560| 0a 0a 46 43 6f 6d 62 6f | 42 6f 78 43 6c 61 73 73 |..FCombo|BoxClass|
|00001570| 2e 70 72 6f 74 6f 74 79 | 70 65 2e 67 65 74 56 61 |.prototy|pe.getVa|
|00001580| 6c 75 65 20 3d 20 66 75 | 6e 63 74 69 6f 6e 28 29 |lue = fu|nction()|
|00001590| 0a 7b 0a 09 69 66 20 28 | 74 68 69 73 2e 65 64 69 |.{..if (|this.edi|
|000015a0| 74 61 62 6c 65 29 20 7b | 0a 09 09 72 65 74 75 72 |table) {|...retur|
|000015b0| 6e 20 74 68 69 73 2e 66 | 4c 61 62 65 6c 5f 6d 63 |n this.f|Label_mc|
|000015c0| 2e 67 65 74 4c 61 62 65 | 6c 28 29 3b 0a 09 7d 20 |.getLabe|l();..} |
|000015d0| 65 6c 73 65 20 7b 0a 09 | 09 72 65 74 75 72 6e 20 |else {..|.return |
|000015e0| 73 75 70 65 72 2e 67 65 | 74 56 61 6c 75 65 28 29 |super.ge|tValue()|
|000015f0| 3b 0a 09 7d 0a 7d 0a 0a | 46 43 6f 6d 62 6f 42 6f |;..}.}..|FComboBo|
|00001600| 78 43 6c 61 73 73 2e 70 | 72 6f 74 6f 74 79 70 65 |xClass.p|rototype|
|00001610| 2e 67 65 74 52 6f 77 43 | 6f 75 6e 74 20 3d 20 66 |.getRowC|ount = f|
|00001620| 75 6e 63 74 69 6f 6e 28 | 29 0a 7b 0a 09 72 65 74 |unction(|).{..ret|
|00001630| 75 72 6e 20 74 68 69 73 | 2e 72 6f 77 43 6f 75 6e |urn this|.rowCoun|
|00001640| 74 3b 0a 7d 0a 0a 46 43 | 6f 6d 62 6f 42 6f 78 43 |t;.}..FC|omboBoxC|
|00001650| 6c 61 73 73 2e 70 72 6f | 74 6f 74 79 70 65 2e 73 |lass.pro|totype.s|
|00001660| 65 74 52 6f 77 43 6f 75 | 6e 74 20 3d 20 66 75 6e |etRowCou|nt = fun|
|00001670| 63 74 69 6f 6e 28 63 6f | 75 6e 74 29 0a 7b 0a 09 |ction(co|unt).{..|
|00001680| 74 68 69 73 2e 72 6f 77 | 43 6f 75 6e 74 20 3d 20 |this.row|Count = |
|00001690| 28 74 68 69 73 2e 67 65 | 74 4c 65 6e 67 74 68 28 |(this.ge|tLength(|
|000016a0| 29 3e 63 6f 75 6e 74 29 | 20 3f 20 4d 61 74 68 2e |)>count)| ? Math.|
|000016b0| 6d 61 78 28 63 6f 75 6e | 74 2c 33 29 20 3a 20 63 |max(coun|t,3) : c|
|000016c0| 6f 75 6e 74 3b 0a 09 74 | 68 69 73 2e 73 65 74 53 |ount;..t|his.setS|
|000016d0| 69 7a 65 28 74 68 69 73 | 2e 77 69 64 74 68 29 3b |ize(this|.width);|
|000016e0| 0a 09 76 61 72 20 6c 65 | 6e 20 3d 20 74 68 69 73 |..var le|n = this|
|000016f0| 2e 67 65 74 4c 65 6e 67 | 74 68 28 29 3b 0a 09 69 |.getLeng|th();..i|
|00001700| 66 20 28 6c 65 6e 2d 74 | 68 69 73 2e 67 65 74 53 |f (len-t|his.getS|
|00001710| 63 72 6f 6c 6c 50 6f 73 | 69 74 69 6f 6e 28 29 3c |crollPos|ition()<|
|00001720| 74 68 69 73 2e 72 6f 77 | 43 6f 75 6e 74 29 20 7b |this.row|Count) {|
|00001730| 0a 09 09 74 68 69 73 2e | 73 65 74 53 63 72 6f 6c |...this.|setScrol|
|00001740| 6c 50 6f 73 69 74 69 6f | 6e 28 6c 65 6e 2d 28 4d |lPositio|n(len-(M|
|00001750| 61 74 68 2e 6d 69 6e 28 | 74 68 69 73 2e 72 6f 77 |ath.min(|this.row|
|00001760| 43 6f 75 6e 74 2c 20 6c | 65 6e 29 29 29 3b 0a 09 |Count, l|en)));..|
|00001770| 09 74 68 69 73 2e 69 6e | 76 61 6c 69 64 61 74 65 |.this.in|validate|
|00001780| 28 22 75 70 64 61 74 65 | 43 6f 6e 74 72 6f 6c 22 |("update|Control"|
|00001790| 29 3b 0a 09 7d 0a 7d 0a | 0a 46 43 6f 6d 62 6f 42 |);..}.}.|.FComboB|
|000017a0| 6f 78 43 6c 61 73 73 2e | 70 72 6f 74 6f 74 79 70 |oxClass.|prototyp|
|000017b0| 65 2e 73 65 74 45 64 69 | 74 61 62 6c 65 20 3d 20 |e.setEdi|table = |
|000017c0| 66 75 6e 63 74 69 6f 6e | 28 65 64 69 74 61 62 6c |function|(editabl|
|000017d0| 65 46 6c 61 67 29 0a 7b | 0a 09 69 66 20 28 21 74 |eFlag).{|..if (!t|
|000017e0| 68 69 73 2e 65 6e 61 62 | 6c 65 29 20 72 65 74 75 |his.enab|le) retu|
|000017f0| 72 6e 3b 0a 09 0a 09 74 | 68 69 73 2e 65 64 69 74 |rn;....t|his.edit|
|00001800| 61 62 6c 65 20 3d 20 65 | 64 69 74 61 62 6c 65 46 |able = e|ditableF|
|00001810| 6c 61 67 3b 0a 09 69 66 | 20 28 21 74 68 69 73 2e |lag;..if| (!this.|
|00001820| 65 64 69 74 61 62 6c 65 | 29 20 7b 0a 09 09 74 68 |editable|) {...th|
|00001830| 69 73 2e 6f 6e 50 72 65 | 73 73 20 3d 20 74 68 69 |is.onPre|ss = thi|
|00001840| 73 2e 70 72 65 73 73 48 | 61 6e 64 6c 65 72 3b 0a |s.pressH|andler;.|
|00001850| 09 09 74 68 69 73 2e 75 | 73 65 48 61 6e 64 43 75 |..this.u|seHandCu|
|00001860| 72 73 6f 72 20 3d 20 66 | 61 6c 73 65 3b 0a 09 09 |rsor = f|alse;...|
|00001870| 74 68 69 73 2e 74 72 61 | 63 6b 41 73 4d 65 6e 75 |this.tra|ckAsMenu|
|00001880| 20 3d 20 74 72 75 65 3b | 0a 09 09 74 68 69 73 2e | = true;|...this.|
|00001890| 61 74 74 61 63 68 4d 6f | 76 69 65 28 22 46 43 6f |attachMo|vie("FCo|
|000018a0| 6d 62 6f 42 6f 78 49 74 | 65 6d 53 79 6d 62 6f 6c |mboBoxIt|emSymbol|
|000018b0| 22 2c 20 22 66 4c 61 62 | 65 6c 5f 6d 63 22 2c 20 |", "fLab|el_mc", |
|000018c0| 35 2c 20 7b 63 6f 6e 74 | 72 6f 6c 6c 65 72 3a 74 |5, {cont|roller:t|
|000018d0| 68 69 73 2c 20 69 74 65 | 6d 4e 75 6d 3a 2d 31 7d |his, ite|mNum:-1}|
|000018e0| 29 3b 0a 09 09 74 68 69 | 73 2e 66 4c 61 62 65 6c |);...thi|s.fLabel|
|000018f0| 5f 6d 63 2e 6f 6e 52 6f | 6c 6c 4f 76 65 72 20 3d |_mc.onRo|llOver =|
|00001900| 20 75 6e 64 65 66 69 6e | 65 64 3b 0a 09 09 74 68 | undefin|ed;...th|
|00001910| 69 73 2e 66 4c 61 62 65 | 6c 5f 6d 63 2e 73 65 74 |is.fLabe|l_mc.set|
|00001920| 53 69 7a 65 28 74 68 69 | 73 2e 77 69 64 74 68 2d |Size(thi|s.width-|
|00001930| 74 68 69 73 2e 69 74 6d | 48 67 74 2b 31 2c 20 74 |this.itm|Hgt+1, t|
|00001940| 68 69 73 2e 69 74 6d 48 | 67 74 29 3b 0a 09 09 74 |his.itmH|gt);...t|
|00001950| 68 69 73 2e 74 6f 70 4c | 61 62 65 6c 20 3d 20 74 |his.topL|abel = t|
|00001960| 68 69 73 2e 67 65 74 53 | 65 6c 65 63 74 65 64 49 |his.getS|electedI|
|00001970| 74 65 6d 28 29 3b 0a 09 | 09 74 68 69 73 2e 66 4c |tem();..|.this.fL|
|00001980| 61 62 65 6c 5f 6d 63 2e | 64 72 61 77 49 74 65 6d |abel_mc.|drawItem|
|00001990| 28 74 68 69 73 2e 74 6f | 70 4c 61 62 65 6c 2c 20 |(this.to|pLabel, |
|000019a0| 66 61 6c 73 65 29 3b 0a | 09 09 74 68 69 73 2e 68 |false);.|..this.h|
|000019b0| 69 67 68 6c 69 67 68 74 | 54 6f 70 28 66 61 6c 73 |ighlight|Top(fals|
|000019c0| 65 29 3b 0a 09 7d 20 65 | 6c 73 65 20 7b 0a 09 09 |e);..} e|lse {...|
|000019d0| 74 68 69 73 2e 61 74 74 | 61 63 68 4d 6f 76 69 65 |this.att|achMovie|
|000019e0| 28 22 46 4c 61 62 65 6c | 53 79 6d 62 6f 6c 22 2c |("FLabel|Symbol",|
|000019f0| 20 22 66 4c 61 62 65 6c | 5f 6d 63 22 2c 20 35 29 | "fLabel|_mc", 5)|
|00001a00| 3b 09 09 0a 09 09 74 68 | 69 73 2e 66 4c 61 62 65 |;.....th|is.fLabe|
|00001a10| 6c 5f 74 78 74 20 3d 20 | 74 68 69 73 2e 66 4c 61 |l_txt = |this.fLa|
|00001a20| 62 65 6c 5f 6d 63 2e 6c | 61 62 65 6c 46 69 65 6c |bel_mc.l|abelFiel|
|00001a30| 64 3b 0a 09 09 74 68 69 | 73 2e 66 4c 61 62 65 6c |d;...thi|s.fLabel|
|00001a40| 5f 74 78 74 2e 74 79 70 | 65 20 3d 20 22 69 6e 70 |_txt.typ|e = "inp|
|00001a50| 75 74 22 3b 0a 09 09 74 | 68 69 73 2e 66 4c 61 62 |ut";...t|his.fLab|
|00001a60| 65 6c 5f 74 78 74 2e 5f | 78 20 3d 20 34 3b 0a 09 |el_txt._|x = 4;..|
|00001a70| 09 74 68 69 73 2e 66 4c | 61 62 65 6c 5f 74 78 74 |.this.fL|abel_txt|
|00001a80| 2e 6f 6e 53 65 74 46 6f | 63 75 73 20 3d 20 74 68 |.onSetFo|cus = th|
|00001a90| 69 73 2e 6f 6e 4c 61 62 | 65 6c 46 6f 63 75 73 3b |is.onLab|elFocus;|
|00001aa0| 0a 09 09 74 68 69 73 2e | 66 4c 61 62 65 6c 5f 6d |...this.|fLabel_m|
|00001ab0| 63 2e 73 65 74 53 69 7a | 65 28 74 68 69 73 2e 77 |c.setSiz|e(this.w|
|00001ac0| 69 64 74 68 2d 74 68 69 | 73 2e 69 74 6d 48 67 74 |idth-thi|s.itmHgt|
|00001ad0| 2d 33 29 3b 0a 09 09 64 | 65 6c 65 74 65 20 74 68 |-3);...d|elete th|
|00001ae0| 69 73 2e 6f 6e 50 72 65 | 73 73 3b 0a 09 09 74 68 |is.onPre|ss;...th|
|00001af0| 69 73 2e 66 4c 61 62 65 | 6c 5f 74 78 74 2e 6f 6e |is.fLabe|l_txt.on|
|00001b00| 4b 69 6c 6c 46 6f 63 75 | 73 20 3d 20 66 75 6e 63 |KillFocu|s = func|
|00001b10| 74 69 6f 6e 28 29 0a 09 | 09 7b 0a 09 09 09 74 68 |tion()..|.{....th|
|00001b20| 69 73 2e 5f 70 61 72 65 | 6e 74 2e 5f 70 61 72 65 |is._pare|nt._pare|
|00001b30| 6e 74 2e 6d 79 4f 6e 4b | 69 6c 6c 46 6f 63 75 73 |nt.myOnK|illFocus|
|00001b40| 28 29 3b 0a 09 09 7d 0a | 09 09 74 68 69 73 2e 66 |();...}.|..this.f|
|00001b50| 4c 61 62 65 6c 5f 6d 63 | 2e 73 65 74 4c 61 62 65 |Label_mc|.setLabe|
|00001b60| 6c 28 74 68 69 73 2e 76 | 61 6c 75 65 29 3b 0a 09 |l(this.v|alue);..|
|00001b70| 09 74 68 69 73 2e 66 4c | 61 62 65 6c 5f 74 78 74 |.this.fL|abel_txt|
|00001b80| 2e 6f 6e 43 68 61 6e 67 | 65 64 20 3d 20 66 75 6e |.onChang|ed = fun|
|00001b90| 63 74 69 6f 6e 28 29 20 | 7b 0a 09 09 09 09 74 68 |ction() |{.....th|
|00001ba0| 69 73 2e 5f 70 61 72 65 | 6e 74 2e 5f 70 61 72 65 |is._pare|nt._pare|
|00001bb0| 6e 74 2e 66 69 6e 64 49 | 6e 70 75 74 54 65 78 74 |nt.findI|nputText|
|00001bc0| 28 29 3b 0a 09 09 7d 0a | 09 09 74 68 69 73 2e 64 |();...}.|..this.d|
|00001bd0| 6f 77 6e 41 72 72 6f 77 | 2e 6f 6e 50 72 65 73 73 |ownArrow|.onPress|
|00001be0| 20 3d 20 74 68 69 73 2e | 62 75 74 74 6f 6e 50 72 | = this.|buttonPr|
|00001bf0| 65 73 73 48 61 6e 64 6c | 65 72 3b 0a 09 09 74 68 |essHandl|er;...th|
|00001c00| 69 73 2e 64 6f 77 6e 41 | 72 72 6f 77 2e 75 73 65 |is.downA|rrow.use|
|00001c10| 48 61 6e 64 43 75 72 73 | 6f 72 20 3d 20 66 61 6c |HandCurs|or = fal|
|00001c20| 73 65 3b 0a 09 09 74 68 | 69 73 2e 64 6f 77 6e 41 |se;...th|is.downA|
|00001c30| 72 72 6f 77 2e 74 72 61 | 63 6b 41 73 4d 65 6e 75 |rrow.tra|ckAsMenu|
|00001c40| 20 3d 20 74 72 75 65 3b | 0a 09 7d 0a 7d 0a 0a 46 | = true;|..}.}..F|
|00001c50| 43 6f 6d 62 6f 42 6f 78 | 43 6c 61 73 73 2e 70 72 |ComboBox|Class.pr|
|00001c60| 6f 74 6f 74 79 70 65 2e | 73 65 74 45 6e 61 62 6c |ototype.|setEnabl|
|00001c70| 65 64 20 3d 20 66 75 6e | 63 74 69 6f 6e 28 65 6e |ed = fun|ction(en|
|00001c80| 61 62 6c 65 64 46 6c 61 | 67 29 0a 7b 0a 09 65 6e |abledFla|g).{..en|
|00001c90| 61 62 6c 65 64 46 6c 61 | 67 20 3d 20 28 65 6e 61 |abledFla|g = (ena|
|00001ca0| 62 6c 65 64 46 6c 61 67 | 20 3d 3d 20 75 6e 64 65 |bledFlag| == unde|
|00001cb0| 66 69 6e 65 64 20 7c 7c | 20 74 79 70 65 6f 66 28 |fined ||| typeof(|
|00001cc0| 65 6e 61 62 6c 65 64 46 | 6c 61 67 29 21 3d 22 62 |enabledF|lag)!="b|
|00001cd0| 6f 6f 6c 65 61 6e 22 29 | 20 3f 20 74 72 75 65 20 |oolean")| ? true |
|00001ce0| 3a 20 65 6e 61 62 6c 65 | 64 46 6c 61 67 3b 0a 09 |: enable|dFlag;..|
|00001cf0| 73 75 70 65 72 2e 73 65 | 74 45 6e 61 62 6c 65 64 |super.se|tEnabled|
|00001d00| 28 65 6e 61 62 6c 65 64 | 46 6c 61 67 29 3b 0a 09 |(enabled|Flag);..|
|00001d10| 74 68 69 73 2e 72 65 67 | 69 73 74 65 72 53 6b 69 |this.reg|isterSki|
|00001d20| 6e 45 6c 65 6d 65 6e 74 | 28 74 68 69 73 2e 62 6f |nElement|(this.bo|
|00001d30| 75 6e 64 69 6e 67 42 6f | 78 5f 6d 63 2e 62 6f 75 |undingBo|x_mc.bou|
|00001d40| 6e 64 69 6e 67 42 6f 78 | 2c 20 22 62 61 63 6b 67 |ndingBox|, "backg|
|00001d50| 72 6f 75 6e 64 22 29 3b | 0a 09 74 68 69 73 2e 70 |round");|..this.p|
|00001d60| 72 6f 78 79 42 6f 78 5f | 6d 63 2e 67 6f 74 6f 41 |roxyBox_|mc.gotoA|
|00001d70| 6e 64 53 74 6f 70 28 20 | 28 74 68 69 73 2e 65 6e |ndStop( |(this.en|
|00001d80| 61 62 6c 65 29 20 3f 20 | 22 65 6e 61 62 6c 65 64 |able) ? |"enabled|
|00001d90| 22 20 3a 20 22 64 69 73 | 61 62 6c 65 64 22 29 3b |" : "dis|abled");|
|00001da0| 0a 09 74 68 69 73 2e 64 | 6f 77 6e 41 72 72 6f 77 |..this.d|ownArrow|
|00001db0| 2e 67 6f 74 6f 41 6e 64 | 53 74 6f 70 28 20 28 74 |.gotoAnd|Stop( (t|
|00001dc0| 68 69 73 2e 65 6e 61 62 | 6c 65 29 20 3f 20 31 20 |his.enab|le) ? 1 |
|00001dd0| 3a 20 33 29 3b 0a 09 69 | 66 20 28 74 68 69 73 2e |: 3);..i|f (this.|
|00001de0| 65 64 69 74 61 62 6c 65 | 29 20 7b 0a 09 09 74 68 |editable|) {...th|
|00001df0| 69 73 2e 66 4c 61 62 65 | 6c 5f 74 78 74 2e 74 79 |is.fLabe|l_txt.ty|
|00001e00| 70 65 20 3d 20 28 65 6e | 61 62 6c 65 64 46 6c 61 |pe = (en|abledFla|
|00001e10| 67 29 20 3f 20 22 69 6e | 70 75 74 22 20 3a 20 22 |g) ? "in|put" : "|
|00001e20| 64 79 6e 61 6d 69 63 22 | 3b 0a 09 09 74 68 69 73 |dynamic"|;...this|
|00001e30| 2e 66 4c 61 62 65 6c 5f | 74 78 74 2e 73 65 6c 65 |.fLabel_|txt.sele|
|00001e40| 63 74 61 62 6c 65 20 3d | 20 65 6e 61 62 6c 65 64 |ctable =| enabled|
|00001e50| 46 6c 61 67 3b 0a 09 7d | 20 65 6c 73 65 20 69 66 |Flag;..}| else if|
|00001e60| 20 28 65 6e 61 62 6c 65 | 64 46 6c 61 67 29 20 7b | (enable|dFlag) {|
|00001e70| 0a 09 09 74 68 69 73 2e | 66 4c 61 62 65 6c 5f 6d |...this.|fLabel_m|
|00001e80| 63 2e 64 72 61 77 49 74 | 65 6d 28 74 68 69 73 2e |c.drawIt|em(this.|
|00001e90| 74 6f 70 4c 61 62 65 6c | 2c 20 66 61 6c 73 65 29 |topLabel|, false)|
|00001ea0| 3b 0a 09 09 74 68 69 73 | 2e 73 65 74 53 65 6c 65 |;...this|.setSele|
|00001eb0| 63 74 65 64 49 6e 64 65 | 78 28 74 68 69 73 2e 67 |ctedInde|x(this.g|
|00001ec0| 65 74 53 65 6c 65 63 74 | 65 64 49 6e 64 65 78 28 |etSelect|edIndex(|
|00001ed0| 29 2c 20 66 61 6c 73 65 | 29 3b 0a 09 7d 0a 09 74 |), false|);..}..t|
|00001ee0| 68 69 73 2e 66 4c 61 62 | 65 6c 5f 6d 63 2e 73 65 |his.fLab|el_mc.se|
|00001ef0| 74 45 6e 61 62 6c 65 64 | 28 74 68 69 73 2e 65 6e |tEnabled|(this.en|
|00001f00| 61 62 6c 65 29 3b 0a 09 | 74 68 69 73 2e 66 4c 61 |able);..|this.fLa|
|00001f10| 62 65 6c 5f 74 78 74 2e | 6f 6e 53 65 74 46 6f 63 |bel_txt.|onSetFoc|
|00001f20| 75 73 20 3d 20 28 65 6e | 61 62 6c 65 64 46 6c 61 |us = (en|abledFla|
|00001f30| 67 29 20 3f 20 74 68 69 | 73 2e 6f 6e 4c 61 62 65 |g) ? thi|s.onLabe|
|00001f40| 6c 46 6f 63 75 73 20 3a | 20 75 6e 64 65 66 69 6e |lFocus :| undefin|
|00001f50| 65 64 3b 0a 7d 0a 0a 46 | 43 6f 6d 62 6f 42 6f 78 |ed;.}..F|ComboBox|
|00001f60| 43 6c 61 73 73 2e 70 72 | 6f 74 6f 74 79 70 65 2e |Class.pr|ototype.|
|00001f70| 73 65 74 53 65 6c 65 63 | 74 65 64 49 6e 64 65 78 |setSelec|tedIndex|
|00001f80| 20 3d 20 66 75 6e 63 74 | 69 6f 6e 28 69 6e 64 65 | = funct|ion(inde|
|00001f90| 78 2c 20 66 6c 61 67 29 | 0a 7b 0a 09 73 75 70 65 |x, flag)|.{..supe|
|00001fa0| 72 2e 73 65 74 53 65 6c | 65 63 74 65 64 49 6e 64 |r.setSel|ectedInd|
|00001fb0| 65 78 28 69 6e 64 65 78 | 2c 20 66 6c 61 67 29 3b |ex(index|, flag);|
|00001fc0| 0a 09 69 66 20 28 21 74 | 68 69 73 2e 65 64 69 74 |..if (!t|his.edit|
|00001fd0| 61 62 6c 65 29 20 7b 0a | 09 09 74 68 69 73 2e 74 |able) {.|..this.t|
|00001fe0| 6f 70 4c 61 62 65 6c 20 | 3d 20 74 68 69 73 2e 67 |opLabel |= this.g|
|00001ff0| 65 74 53 65 6c 65 63 74 | 65 64 49 74 65 6d 28 29 |etSelect|edItem()|
|00002000| 3b 0a 09 09 74 68 69 73 | 2e 66 4c 61 62 65 6c 5f |;...this|.fLabel_|
|00002010| 6d 63 2e 64 72 61 77 49 | 74 65 6d 28 74 68 69 73 |mc.drawI|tem(this|
|00002020| 2e 74 6f 70 4c 61 62 65 | 6c 2c 20 66 61 6c 73 65 |.topLabe|l, false|
|00002030| 29 3b 0a 09 7d 20 65 6c | 73 65 20 7b 20 0a 09 09 |);..} el|se { ...|
|00002040| 74 68 69 73 2e 76 61 6c | 75 65 20 3d 20 28 66 6c |this.val|ue = (fl|
|00002050| 61 67 21 3d 75 6e 64 65 | 66 69 6e 65 64 29 20 3f |ag!=unde|fined) ?|
|00002060| 20 22 22 20 3a 20 74 68 | 69 73 2e 67 65 74 53 65 | "" : th|is.getSe|
|00002070| 6c 65 63 74 65 64 49 74 | 65 6d 28 29 2e 6c 61 62 |lectedIt|em().lab|
|00002080| 65 6c 3b 0a 09 09 74 68 | 69 73 2e 66 4c 61 62 65 |el;...th|is.fLabe|
|00002090| 6c 5f 6d 63 2e 73 65 74 | 4c 61 62 65 6c 28 74 68 |l_mc.set|Label(th|
|000020a0| 69 73 2e 76 61 6c 75 65 | 29 3b 0a 09 7d 0a 09 74 |is.value|);..}..t|
|000020b0| 68 69 73 2e 69 6e 76 61 | 6c 69 64 61 74 65 28 22 |his.inva|lidate("|
|000020c0| 75 70 64 61 74 65 43 6f | 6e 74 72 6f 6c 22 29 3b |updateCo|ntrol");|
|000020d0| 0a 7d 0a 0a 46 43 6f 6d | 62 6f 42 6f 78 43 6c 61 |.}..FCom|boBoxCla|
|000020e0| 73 73 2e 70 72 6f 74 6f | 74 79 70 65 2e 73 65 74 |ss.proto|type.set|
|000020f0| 56 61 6c 75 65 20 3d 20 | 66 75 6e 63 74 69 6f 6e |Value = |function|
|00002100| 28 76 61 6c 75 65 29 0a | 7b 0a 09 69 66 20 28 74 |(value).|{..if (t|
|00002110| 68 69 73 2e 65 64 69 74 | 61 62 6c 65 29 20 7b 0a |his.edit|able) {.|
|00002120| 09 09 74 68 69 73 2e 66 | 4c 61 62 65 6c 5f 6d 63 |..this.f|Label_mc|
|00002130| 2e 73 65 74 4c 61 62 65 | 6c 28 76 61 6c 75 65 29 |.setLabe|l(value)|
|00002140| 3b 0a 09 09 74 68 69 73 | 2e 76 61 6c 75 65 20 3d |;...this|.value =|
|00002150| 20 76 61 6c 75 65 3b 0a | 09 7d 0a 7d 0a 0a 2f 2f | value;.|.}.}..//|
|00002160| 20 3a 3a 3a 20 50 52 49 | 56 41 54 45 20 4d 45 54 | ::: PRI|VATE MET|
|00002170| 48 4f 44 53 0a 0a 0a 46 | 43 6f 6d 62 6f 42 6f 78 |HODS...F|ComboBox|
|00002180| 43 6c 61 73 73 2e 70 72 | 6f 74 6f 74 79 70 65 2e |Class.pr|ototype.|
|00002190| 70 72 65 73 73 48 61 6e | 64 6c 65 72 20 3d 20 66 |pressHan|dler = f|
|000021a0| 75 6e 63 74 69 6f 6e 28 | 29 0a 7b 0a 09 74 68 69 |unction(|).{..thi|
|000021b0| 73 2e 66 6f 63 75 73 52 | 65 63 74 2e 72 65 6d 6f |s.focusR|ect.remo|
|000021c0| 76 65 4d 6f 76 69 65 43 | 6c 69 70 28 29 3b 0a 09 |veMovieC|lip();..|
|000021d0| 69 66 20 28 74 68 69 73 | 2e 65 6e 61 62 6c 65 29 |if (this|.enable)|
|000021e0| 20 7b 0a 09 09 69 66 20 | 28 21 74 68 69 73 2e 6f | {...if |(!this.o|
|000021f0| 70 65 6e 65 64 29 20 7b | 0a 09 09 09 74 68 69 73 |pened) {|....this|
|00002200| 2e 6f 6e 4d 6f 75 73 65 | 55 70 20 3d 20 74 68 69 |.onMouse|Up = thi|
|00002210| 73 2e 72 65 6c 65 61 73 | 65 48 61 6e 64 6c 65 72 |s.releas|eHandler|
|00002220| 3b 0a 09 09 7d 20 65 6c | 73 65 20 7b 0a 09 09 09 |;...} el|se {....|
|00002230| 74 68 69 73 2e 6f 6e 4d | 6f 75 73 65 55 70 20 3d |this.onM|ouseUp =|
|00002240| 20 75 6e 64 65 66 69 6e | 65 64 3b 0a 09 09 7d 0a | undefin|ed;...}.|
|00002250| 09 09 74 68 69 73 2e 63 | 68 61 6e 67 65 46 6c 61 |..this.c|hangeFla|
|00002260| 67 20 3d 20 66 61 6c 73 | 65 3b 0a 09 09 69 66 20 |g = fals|e;...if |
|00002270| 28 21 74 68 69 73 2e 66 | 6f 63 75 73 65 64 29 20 |(!this.f|ocused) |
|00002280| 7b 0a 09 09 09 74 68 69 | 73 2e 70 72 65 73 73 46 |{....thi|s.pressF|
|00002290| 6f 63 75 73 28 29 3b 0a | 09 09 09 74 68 69 73 2e |ocus();.|...this.|
|000022a0| 63 6c 69 63 6b 46 69 6c | 74 65 72 20 3d 20 28 74 |clickFil|ter = (t|
|000022b0| 68 69 73 2e 65 64 69 74 | 61 62 6c 65 29 20 3f 20 |his.edit|able) ? |
|000022c0| 66 61 6c 73 65 20 3a 20 | 74 72 75 65 3b 0a 09 09 |false : |true;...|
|000022d0| 7d 0a 09 09 69 66 20 28 | 21 74 68 69 73 2e 63 6c |}...if (|!this.cl|
|000022e0| 69 63 6b 46 69 6c 74 65 | 72 29 20 7b 0a 09 09 09 |ickFilte|r) {....|
|000022f0| 74 68 69 73 2e 6f 70 65 | 6e 4f 72 43 6c 6f 73 65 |this.ope|nOrClose|
|00002300| 28 21 74 68 69 73 2e 6f | 70 65 6e 65 64 29 3b 0a |(!this.o|pened);.|
|00002310| 09 09 7d 20 65 6c 73 65 | 20 7b 0a 09 09 09 74 68 |..} else| {....th|
|00002320| 69 73 2e 63 6c 69 63 6b | 46 69 6c 74 65 72 20 3d |is.click|Filter =|
|00002330| 20 66 61 6c 73 65 3b 0a | 09 09 7d 0a 09 7d 0a 7d | false;.|..}..}.}|
|00002340| 0a 0a 46 43 6f 6d 62 6f | 42 6f 78 43 6c 61 73 73 |..FCombo|BoxClass|
|00002350| 2e 70 72 6f 74 6f 74 79 | 70 65 2e 63 6c 69 63 6b |.prototy|pe.click|
|00002360| 48 61 6e 64 6c 65 72 20 | 3d 20 66 75 6e 63 74 69 |Handler |= functi|
|00002370| 6f 6e 28 69 74 6d 4e 75 | 6d 29 20 0a 7b 0a 09 69 |on(itmNu|m) .{..i|
|00002380| 66 20 28 21 74 68 69 73 | 2e 66 6f 63 75 73 65 64 |f (!this|.focused|
|00002390| 29 20 7b 0a 09 09 69 66 | 20 28 74 68 69 73 2e 65 |) {...if| (this.e|
|000023a0| 64 69 74 61 62 6c 65 29 | 20 7b 0a 09 09 09 74 68 |ditable)| {....th|
|000023b0| 69 73 2e 66 4c 61 62 65 | 6c 5f 74 78 74 2e 6f 6e |is.fLabe|l_txt.on|
|000023c0| 4b 69 6c 6c 46 6f 63 75 | 73 20 3d 20 75 6e 64 65 |KillFocu|s = unde|
|000023d0| 66 69 6e 65 64 3b 0a 09 | 09 7d 0a 09 09 74 68 69 |fined;..|.}...thi|
|000023e0| 73 2e 70 72 65 73 73 46 | 6f 63 75 73 28 29 3b 0a |s.pressF|ocus();.|
|000023f0| 09 7d 0a 09 73 75 70 65 | 72 2e 63 6c 69 63 6b 48 |.}..supe|r.clickH|
|00002400| 61 6e 64 6c 65 72 28 69 | 74 6d 4e 75 6d 29 3b 0a |andler(i|tmNum);.|
|00002410| 09 74 68 69 73 2e 73 65 | 6c 65 63 74 69 6f 6e 48 |.this.se|lectionH|
|00002420| 61 6e 64 6c 65 72 28 69 | 74 6d 4e 75 6d 29 3b 0a |andler(i|tmNum);.|
|00002430| 09 74 68 69 73 2e 6f 6e | 4d 6f 75 73 65 55 70 20 |.this.on|MouseUp |
|00002440| 3d 20 74 68 69 73 2e 72 | 65 6c 65 61 73 65 48 61 |= this.r|eleaseHa|
|00002450| 6e 64 6c 65 72 3b 0a 7d | 0a 0a 46 43 6f 6d 62 6f |ndler;.}|..FCombo|
|00002460| 42 6f 78 43 6c 61 73 73 | 2e 70 72 6f 74 6f 74 79 |BoxClass|.prototy|
|00002470| 70 65 2e 68 69 67 68 6c | 69 67 68 74 54 6f 70 20 |pe.highl|ightTop |
|00002480| 3d 20 66 75 6e 63 74 69 | 6f 6e 28 66 6c 61 67 29 |= functi|on(flag)|
|00002490| 0a 7b 0a 09 69 66 20 28 | 21 74 68 69 73 2e 65 64 |.{..if (|!this.ed|
|000024a0| 69 74 61 62 6c 65 29 20 | 7b 0a 09 09 74 68 69 73 |itable) |{...this|
|000024b0| 2e 66 4c 61 62 65 6c 5f | 6d 63 2e 64 72 61 77 49 |.fLabel_|mc.drawI|
|000024c0| 74 65 6d 28 74 68 69 73 | 2e 74 6f 70 4c 61 62 65 |tem(this|.topLabe|
|000024d0| 6c 2c 20 66 6c 61 67 29 | 3b 0a 09 7d 0a 7d 0a 0a |l, flag)|;..}.}..|
|000024e0| 46 43 6f 6d 62 6f 42 6f | 78 43 6c 61 73 73 2e 70 |FComboBo|xClass.p|
|000024f0| 72 6f 74 6f 74 79 70 65 | 2e 6d 79 4f 6e 53 65 74 |rototype|.myOnSet|
|00002500| 46 6f 63 75 73 20 3d 20 | 66 75 6e 63 74 69 6f 6e |Focus = |function|
|00002510| 28 29 0a 7b 0a 09 73 75 | 70 65 72 2e 6d 79 4f 6e |().{..su|per.myOn|
|00002520| 53 65 74 46 6f 63 75 73 | 28 29 3b 0a 09 74 68 69 |SetFocus|();..thi|
|00002530| 73 2e 66 4c 61 62 65 6c | 5f 6d 63 2e 68 69 67 68 |s.fLabel|_mc.high|
|00002540| 6c 69 67 68 74 5f 6d 63 | 2e 67 6f 74 6f 41 6e 64 |light_mc|.gotoAnd|
|00002550| 53 74 6f 70 28 22 65 6e | 61 62 6c 65 64 22 29 3b |Stop("en|abled");|
|00002560| 0a 09 74 68 69 73 2e 68 | 69 67 68 6c 69 67 68 74 |..this.h|ighlight|
|00002570| 54 6f 70 28 74 72 75 65 | 29 3b 0a 7d 0a 0a 0a 46 |Top(true|);.}...F|
|00002580| 43 6f 6d 62 6f 42 6f 78 | 43 6c 61 73 73 2e 70 72 |ComboBox|Class.pr|
|00002590| 6f 74 6f 74 79 70 65 2e | 64 72 61 77 46 6f 63 75 |ototype.|drawFocu|
|000025a0| 73 52 65 63 74 20 3d 20 | 66 75 6e 63 74 69 6f 6e |sRect = |function|
|000025b0| 28 29 0a 7b 0a 09 74 68 | 69 73 2e 64 72 61 77 52 |().{..th|is.drawR|
|000025c0| 65 63 74 28 2d 32 2c 2d | 32 2c 20 74 68 69 73 2e |ect(-2,-|2, this.|
|000025d0| 77 69 64 74 68 2b 34 2c | 20 74 68 69 73 2e 5f 68 |width+4,| this._h|
|000025e0| 65 69 67 68 74 2b 34 29 | 3b 0a 7d 0a 0a 46 43 6f |eight+4)|;.}..FCo|
|000025f0| 6d 62 6f 42 6f 78 43 6c | 61 73 73 2e 70 72 6f 74 |mboBoxCl|ass.prot|
|00002600| 6f 74 79 70 65 2e 6d 79 | 4f 6e 4b 69 6c 6c 46 6f |otype.my|OnKillFo|
|00002610| 63 75 73 20 3d 20 66 75 | 6e 63 74 69 6f 6e 28 29 |cus = fu|nction()|
|00002620| 0a 7b 09 0a 09 69 66 20 | 28 53 65 6c 65 63 74 69 |.{...if |(Selecti|
|00002630| 6f 6e 2e 67 65 74 46 6f | 63 75 73 28 29 2e 69 6e |on.getFo|cus().in|
|00002640| 64 65 78 4f 66 28 22 6c | 61 62 65 6c 46 69 65 6c |dexOf("l|abelFiel|
|00002650| 64 22 29 21 3d 2d 31 29 | 20 72 65 74 75 72 6e 3b |d")!=-1)| return;|
|00002660| 20 2f 2f 20 69 66 20 74 | 68 65 20 6c 61 62 65 6c | // if t|he label|
|00002670| 20 69 73 20 69 6e 20 66 | 6f 63 75 73 2c 20 64 6f | is in f|ocus, do|
|00002680| 6e 27 74 20 6b 69 6c 6c | 20 6d 79 20 66 6f 63 75 |n't kill| my focu|
|00002690| 73 21 0a 0a 09 73 75 70 | 65 72 2e 6d 79 4f 6e 4b |s!...sup|er.myOnK|
|000026a0| 69 6c 6c 46 6f 63 75 73 | 28 29 3b 0a 09 64 65 6c |illFocus|();..del|
|000026b0| 65 74 65 20 74 68 69 73 | 2e 66 4c 61 62 65 6c 5f |ete this|.fLabel_|
|000026c0| 74 78 74 2e 6f 6e 4b 65 | 79 44 6f 77 6e 3b 0a 09 |txt.onKe|yDown;..|
|000026d0| 74 68 69 73 2e 6f 70 65 | 6e 4f 72 43 6c 6f 73 65 |this.ope|nOrClose|
|000026e0| 28 66 61 6c 73 65 29 3b | 0a 09 74 68 69 73 2e 68 |(false);|..this.h|
|000026f0| 69 67 68 6c 69 67 68 74 | 54 6f 70 28 66 61 6c 73 |ighlight|Top(fals|
|00002700| 65 29 3b 0a 7d 0a 0a 46 | 43 6f 6d 62 6f 42 6f 78 |e);.}..F|ComboBox|
|00002710| 43 6c 61 73 73 2e 70 72 | 6f 74 6f 74 79 70 65 2e |Class.pr|ototype.|
|00002720| 73 65 74 50 6f 70 55 70 | 4c 6f 63 61 74 69 6f 6e |setPopUp|Location|
|00002730| 20 3d 20 66 75 6e 63 74 | 69 6f 6e 28 6d 63 52 65 | = funct|ion(mcRe|
|00002740| 66 29 0a 7b 0a 09 6d 63 | 52 65 66 2e 5f 78 20 3d |f).{..mc|Ref._x =|
|00002750| 20 74 68 69 73 2e 5f 78 | 3b 0a 09 76 61 72 20 70 | this._x|;..var p|
|00002760| 6f 69 6e 74 20 3d 20 7b | 20 78 20 3a 20 74 68 69 |oint = {| x : thi|
|00002770| 73 2e 5f 78 2c 20 79 20 | 3a 20 74 68 69 73 2e 5f |s._x, y |: this._|
|00002780| 79 20 2b 20 74 68 69 73 | 2e 70 72 6f 78 79 42 6f |y + this|.proxyBo|
|00002790| 78 5f 6d 63 2e 5f 68 65 | 69 67 68 74 7d 3b 0a 09 |x_mc._he|ight};..|
|000027a0| 74 68 69 73 2e 5f 70 61 | 72 65 6e 74 2e 6c 6f 63 |this._pa|rent.loc|
|000027b0| 61 6c 54 6f 47 6c 6f 62 | 61 6c 28 70 6f 69 6e 74 |alToGlob|al(point|
|000027c0| 29 3b 0a 09 6d 63 52 65 | 66 2e 5f 70 61 72 65 6e |);..mcRe|f._paren|
|000027d0| 74 2e 67 6c 6f 62 61 6c | 54 6f 4c 6f 63 61 6c 28 |t.global|ToLocal(|
|000027e0| 70 6f 69 6e 74 29 3b 0a | 09 6d 63 52 65 66 2e 5f |point);.|.mcRef._|
|000027f0| 78 20 3d 20 70 6f 69 6e | 74 2e 78 3b 0a 09 6d 63 |x = poin|t.x;..mc|
|00002800| 52 65 66 2e 5f 79 20 3d | 20 70 6f 69 6e 74 2e 79 |Ref._y =| point.y|
|00002810| 3b 0a 09 69 66 20 28 74 | 68 69 73 2e 68 65 69 67 |;..if (t|his.heig|
|00002820| 68 74 2b 6d 63 52 65 66 | 2e 5f 79 3e 3d 53 74 61 |ht+mcRef|._y>=Sta|
|00002830| 67 65 2e 68 65 69 67 68 | 74 29 20 7b 0a 09 09 74 |ge.heigh|t) {...t|
|00002840| 68 69 73 2e 75 70 77 61 | 72 64 20 3d 20 74 72 75 |his.upwa|rd = tru|
|00002850| 65 3b 0a 09 09 6d 63 52 | 65 66 2e 5f 79 20 3d 20 |e;...mcR|ef._y = |
|00002860| 70 6f 69 6e 74 2e 79 2d | 74 68 69 73 2e 68 65 69 |point.y-|this.hei|
|00002870| 67 68 74 20 2d 20 74 68 | 69 73 2e 70 72 6f 78 79 |ght - th|is.proxy|
|00002880| 42 6f 78 5f 6d 63 2e 5f | 68 65 69 67 68 74 3b 0a |Box_mc._|height;.|
|00002890| 09 7d 20 65 6c 73 65 20 | 7b 0a 09 09 74 68 69 73 |.} else |{...this|
|000028a0| 2e 75 70 77 61 72 64 20 | 3d 20 66 61 6c 73 65 3b |.upward |= false;|
|000028b0| 0a 09 7d 0a 7d 0a 0a 46 | 43 6f 6d 62 6f 42 6f 78 |..}.}..F|ComboBox|
|000028c0| 43 6c 61 73 73 2e 70 72 | 6f 74 6f 74 79 70 65 2e |Class.pr|ototype.|
|000028d0| 6f 70 65 6e 4f 72 43 6c | 6f 73 65 20 3d 20 66 75 |openOrCl|ose = fu|
|000028e0| 6e 63 74 69 6f 6e 28 66 | 6c 61 67 29 0a 7b 0a 09 |nction(f|lag).{..|
|000028f0| 69 66 20 28 74 68 69 73 | 2e 67 65 74 4c 65 6e 67 |if (this|.getLeng|
|00002900| 74 68 28 29 3d 3d 30 29 | 20 72 65 74 75 72 6e 3b |th()==0)| return;|
|00002910| 0a 09 74 68 69 73 2e 73 | 65 74 50 6f 70 55 70 4c |..this.s|etPopUpL|
|00002920| 6f 63 61 74 69 6f 6e 28 | 74 68 69 73 2e 63 6f 6e |ocation(|this.con|
|00002930| 74 61 69 6e 65 72 5f 6d | 63 29 3b 0a 09 69 66 20 |tainer_m|c);..if |
|00002940| 28 74 68 69 73 2e 6c 61 | 73 74 53 65 6c 65 63 74 |(this.la|stSelect|
|00002950| 65 64 21 3d 2d 31 20 26 | 26 20 28 74 68 69 73 2e |ed!=-1 &|& (this.|
|00002960| 6c 61 73 74 53 65 6c 65 | 63 74 65 64 3c 74 68 69 |lastSele|cted<thi|
|00002970| 73 2e 74 6f 70 44 69 73 | 70 6c 61 79 65 64 20 7c |s.topDis|played ||
|00002980| 7c 20 74 68 69 73 2e 6c | 61 73 74 53 65 6c 65 63 || this.l|astSelec|
|00002990| 74 65 64 3e 74 68 69 73 | 2e 74 6f 70 44 69 73 70 |ted>this|.topDisp|
|000029a0| 6c 61 79 65 64 2b 74 68 | 69 73 2e 6e 75 6d 44 69 |layed+th|is.numDi|
|000029b0| 73 70 6c 61 79 65 64 29 | 29 20 7b 0a 09 09 73 75 |splayed)|) {...su|
|000029c0| 70 65 72 2e 6d 6f 76 65 | 53 65 6c 42 79 28 74 68 |per.move|SelBy(th|
|000029d0| 69 73 2e 6c 61 73 74 53 | 65 6c 65 63 74 65 64 2d |is.lastS|elected-|
|000029e0| 74 68 69 73 2e 67 65 74 | 53 65 6c 65 63 74 65 64 |this.get|Selected|
|000029f0| 49 6e 64 65 78 28 29 29 | 3b 0a 09 7d 0a 09 28 66 |Index())|;..}..(f|
|00002a00| 6c 61 67 29 20 3f 20 74 | 68 69 73 2e 64 6f 77 6e |lag) ? t|his.down|
|00002a10| 41 72 72 6f 77 2e 67 6f | 74 6f 41 6e 64 53 74 6f |Arrow.go|toAndSto|
|00002a20| 70 28 32 29 20 3a 20 74 | 68 69 73 2e 64 6f 77 6e |p(2) : t|his.down|
|00002a30| 41 72 72 6f 77 2e 67 6f | 74 6f 41 6e 64 53 74 6f |Arrow.go|toAndSto|
|00002a40| 70 28 31 29 3b 09 0a 09 | 69 66 20 28 66 6c 61 67 |p(1);...|if (flag|
|00002a50| 3d 3d 74 68 69 73 2e 6f | 70 65 6e 65 64 29 20 7b |==this.o|pened) {|
|00002a60| 0a 09 09 72 65 74 75 72 | 6e 20 3b 0a 09 7d 0a 09 |...retur|n ;..}..|
|00002a70| 0a 09 74 68 69 73 2e 68 | 69 67 68 6c 69 67 68 74 |..this.h|ighlight|
|00002a80| 54 6f 70 28 21 66 6c 61 | 67 29 3b 0a 09 74 68 69 |Top(!fla|g);..thi|
|00002a90| 73 2e 66 61 64 65 52 61 | 74 65 20 3d 20 74 68 69 |s.fadeRa|te = thi|
|00002aa0| 73 2e 73 74 79 6c 65 54 | 61 62 6c 65 2e 70 6f 70 |s.styleT|able.pop|
|00002ab0| 55 70 46 61 64 65 2e 76 | 61 6c 75 65 3b 0a 09 69 |UpFade.v|alue;..i|
|00002ac0| 66 20 28 21 66 6c 61 67 | 20 7c 7c 20 74 68 69 73 |f (!flag| || this|
|00002ad0| 2e 66 61 64 65 52 61 74 | 65 3d 3d 75 6e 64 65 66 |.fadeRat|e==undef|
|00002ae0| 69 6e 65 64 20 7c 7c 20 | 74 68 69 73 2e 66 61 64 |ined || |this.fad|
|00002af0| 65 52 61 74 65 3d 3d 30 | 29 20 7b 0a 09 09 74 68 |eRate==0|) {...th|
|00002b00| 69 73 2e 6f 70 65 6e 65 | 64 20 3d 20 74 68 69 73 |is.opene|d = this|
|00002b10| 2e 63 6f 6e 74 61 69 6e | 65 72 5f 6d 63 2e 5f 76 |.contain|er_mc._v|
|00002b20| 69 73 69 62 6c 65 20 3d | 20 66 6c 61 67 3b 0a 09 |isible =| flag;..|
|00002b30| 09 72 65 74 75 72 6e 3b | 0a 09 7d 0a 0a 09 2f 2f |.return;|..}...//|
|00002b40| 20 63 6f 64 65 20 66 6f | 72 20 66 61 64 69 6e 67 | code fo|r fading|
|00002b50| 20 69 6e 20 2d 20 64 65 | 70 65 6e 64 73 20 6f 6e | in - de|pends on|
|00002b60| 20 61 20 70 72 6f 70 20 | 63 61 6c 6c 65 64 20 70 | a prop |called p|
|00002b70| 6f 70 55 70 46 61 64 65 | 2e 20 0a 09 0a 09 74 68 |opUpFade|. ....th|
|00002b80| 69 73 2e 73 65 74 50 6f | 70 55 70 4c 6f 63 61 74 |is.setPo|pUpLocat|
|00002b90| 69 6f 6e 28 74 68 69 73 | 2e 66 61 64 65 72 29 3b |ion(this|.fader);|
|00002ba0| 0a 0a 09 74 68 69 73 2e | 74 69 6d 65 20 3d 20 30 |...this.|time = 0|
|00002bb0| 3b 0a 09 74 68 69 73 2e | 63 6f 6e 73 74 20 3d 20 |;..this.|const = |
|00002bc0| 38 35 20 2f 20 4d 61 74 | 68 2e 73 71 72 74 28 74 |85 / Mat|h.sqrt(t|
|00002bd0| 68 69 73 2e 66 61 64 65 | 52 61 74 65 29 3b 0a 09 |his.fade|Rate);..|
|00002be0| 74 68 69 73 2e 66 61 64 | 65 72 2e 5f 61 6c 70 68 |this.fad|er._alph|
|00002bf0| 61 20 3d 20 38 35 3b 0a | 09 74 68 69 73 2e 63 6f |a = 85;.|.this.co|
|00002c00| 6e 74 61 69 6e 65 72 5f | 6d 63 2e 5f 76 69 73 69 |ntainer_|mc._visi|
|00002c10| 62 6c 65 20 3d 20 74 68 | 69 73 2e 66 61 64 65 72 |ble = th|is.fader|
|00002c20| 2e 5f 76 69 73 69 62 6c | 65 20 3d 20 74 72 75 65 |._visibl|e = true|
|00002c30| 3b 0a 09 74 68 69 73 2e | 6f 6e 45 6e 74 65 72 46 |;..this.|onEnterF|
|00002c40| 72 61 6d 65 20 3d 20 66 | 75 6e 63 74 69 6f 6e 28 |rame = f|unction(|
|00002c50| 29 0a 09 7b 0a 09 09 74 | 68 69 73 2e 66 61 64 65 |)..{...t|his.fade|
|00002c60| 72 2e 5f 61 6c 70 68 61 | 20 3d 20 31 30 30 20 2d |r._alpha| = 100 -|
|00002c70| 20 28 74 68 69 73 2e 63 | 6f 6e 73 74 20 2a 20 4d | (this.c|onst * M|
|00002c80| 61 74 68 2e 73 71 72 74 | 28 2b 2b 74 68 69 73 2e |ath.sqrt|(++this.|
|00002c90| 74 69 6d 65 29 20 2b 20 | 31 35 29 3b 0a 20 09 09 |time) + |15);. ..|
|00002ca0| 69 66 20 28 74 68 69 73 | 2e 74 69 6d 65 3e 3d 74 |if (this|.time>=t|
|00002cb0| 68 69 73 2e 66 61 64 65 | 52 61 74 65 29 20 7b 0a |his.fade|Rate) {.|
|00002cc0| 09 09 09 74 68 69 73 2e | 66 61 64 65 72 2e 5f 76 |...this.|fader._v|
|00002cd0| 69 73 69 62 6c 65 20 3d | 20 66 61 6c 73 65 3b 0a |isible =| false;.|
|00002ce0| 09 09 09 64 65 6c 65 74 | 65 20 74 68 69 73 2e 6f |...delet|e this.o|
|00002cf0| 6e 45 6e 74 65 72 46 72 | 61 6d 65 3b 0a 09 09 09 |nEnterFr|ame;....|
|00002d00| 74 68 69 73 2e 6f 70 65 | 6e 65 64 20 3d 20 74 72 |this.ope|ned = tr|
|00002d10| 75 65 3b 0a 09 09 7d 0a | 09 7d 0a 0a 7d 0a 0a 0a |ue;...}.|.}..}...|
|00002d20| 46 43 6f 6d 62 6f 42 6f | 78 43 6c 61 73 73 2e 70 |FComboBo|xClass.p|
|00002d30| 72 6f 74 6f 74 79 70 65 | 2e 66 69 72 65 43 68 61 |rototype|.fireCha|
|00002d40| 6e 67 65 20 3d 20 66 75 | 6e 63 74 69 6f 6e 28 29 |nge = fu|nction()|
|00002d50| 0a 7b 0a 09 74 68 69 73 | 2e 6c 61 73 74 53 65 6c |.{..this|.lastSel|
|00002d60| 65 63 74 65 64 20 3d 20 | 74 68 69 73 2e 67 65 74 |ected = |this.get|
|00002d70| 53 65 6c 65 63 74 65 64 | 49 6e 64 65 78 28 29 3b |Selected|Index();|
|00002d80| 0a 09 69 66 20 28 21 74 | 68 69 73 2e 65 64 69 74 |..if (!t|his.edit|
|00002d90| 61 62 6c 65 29 20 7b 0a | 09 09 74 68 69 73 2e 74 |able) {.|..this.t|
|00002da0| 6f 70 4c 61 62 65 6c 20 | 3d 20 74 68 69 73 2e 67 |opLabel |= this.g|
|00002db0| 65 74 53 65 6c 65 63 74 | 65 64 49 74 65 6d 28 29 |etSelect|edItem()|
|00002dc0| 3b 0a 09 09 74 68 69 73 | 2e 66 4c 61 62 65 6c 5f |;...this|.fLabel_|
|00002dd0| 6d 63 2e 64 72 61 77 49 | 74 65 6d 28 74 68 69 73 |mc.drawI|tem(this|
|00002de0| 2e 74 6f 70 4c 61 62 65 | 6c 2c 20 74 72 75 65 29 |.topLabe|l, true)|
|00002df0| 3b 0a 09 7d 20 65 6c 73 | 65 20 7b 0a 09 09 74 68 |;..} els|e {...th|
|00002e00| 69 73 2e 76 61 6c 75 65 | 3d 74 68 69 73 2e 67 65 |is.value|=this.ge|
|00002e10| 74 53 65 6c 65 63 74 65 | 64 49 74 65 6d 28 29 2e |tSelecte|dItem().|
|00002e20| 6c 61 62 65 6c 3b 0a 09 | 09 74 68 69 73 2e 66 4c |label;..|.this.fL|
|00002e30| 61 62 65 6c 5f 6d 63 2e | 73 65 74 4c 61 62 65 6c |abel_mc.|setLabel|
|00002e40| 28 74 68 69 73 2e 76 61 | 6c 75 65 29 3b 0a 09 7d |(this.va|lue);..}|
|00002e50| 0a 09 74 68 69 73 2e 65 | 78 65 63 75 74 65 43 61 |..this.e|xecuteCa|
|00002e60| 6c 6c 62 61 63 6b 28 29 | 3b 0a 7d 0a 0a 46 43 6f |llback()|;.}..FCo|
|00002e70| 6d 62 6f 42 6f 78 43 6c | 61 73 73 2e 70 72 6f 74 |mboBoxCl|ass.prot|
|00002e80| 6f 74 79 70 65 2e 72 65 | 6c 65 61 73 65 48 61 6e |otype.re|leaseHan|
|00002e90| 64 6c 65 72 20 3d 20 66 | 75 6e 63 74 69 6f 6e 28 |dler = f|unction(|
|00002ea0| 29 0a 7b 0a 0a 09 76 61 | 72 20 6f 6e 43 6f 6d 62 |).{...va|r onComb|
|00002eb0| 6f 20 3d 20 74 68 69 73 | 2e 62 6f 75 6e 64 69 6e |o = this|.boundin|
|00002ec0| 67 42 6f 78 5f 6d 63 2e | 68 69 74 54 65 73 74 28 |gBox_mc.|hitTest(|
|00002ed0| 5f 72 6f 6f 74 2e 5f 78 | 6d 6f 75 73 65 2c 20 5f |_root._x|mouse, _|
|00002ee0| 72 6f 6f 74 2e 5f 79 6d | 6f 75 73 65 29 3b 0a 09 |root._ym|ouse);..|
|00002ef0| 69 66 20 28 74 68 69 73 | 2e 63 68 61 6e 67 65 46 |if (this|.changeF|
|00002f00| 6c 61 67 29 20 7b 0a 09 | 09 69 66 20 28 6f 6e 43 |lag) {..|.if (onC|
|00002f10| 6f 6d 62 6f 29 20 7b 0a | 09 09 09 74 68 69 73 2e |ombo) {.|...this.|
|00002f20| 66 69 72 65 43 68 61 6e | 67 65 28 29 3b 0a 09 09 |fireChan|ge();...|
|00002f30| 7d 0a 09 09 74 68 69 73 | 2e 6f 70 65 6e 4f 72 43 |}...this|.openOrC|
|00002f40| 6c 6f 73 65 28 21 74 68 | 69 73 2e 6f 70 65 6e 65 |lose(!th|is.opene|
|00002f50| 64 29 3b 0a 09 7d 20 65 | 6c 73 65 20 69 66 20 28 |d);..} e|lse if (|
|00002f60| 6f 6e 43 6f 6d 62 6f 29 | 20 7b 0a 09 09 74 68 69 |onCombo)| {...thi|
|00002f70| 73 2e 6f 70 65 6e 4f 72 | 43 6c 6f 73 65 28 66 61 |s.openOr|Close(fa|
|00002f80| 6c 73 65 29 3b 0a 0a 09 | 7d 20 65 6c 73 65 20 7b |lse);...|} else {|
|00002f90| 0a 09 09 74 68 69 73 2e | 6f 6e 4d 6f 75 73 65 44 |...this.|onMouseD|
|00002fa0| 6f 77 6e 20 3d 20 66 75 | 6e 63 74 69 6f 6e 28 29 |own = fu|nction()|
|00002fb0| 0a 09 09 7b 0a 09 09 09 | 69 66 20 28 21 74 68 69 |...{....|if (!thi|
|00002fc0| 73 2e 62 6f 75 6e 64 69 | 6e 67 42 6f 78 5f 6d 63 |s.boundi|ngBox_mc|
|00002fd0| 2e 68 69 74 54 65 73 74 | 28 5f 72 6f 6f 74 2e 5f |.hitTest|(_root._|
|00002fe0| 78 6d 6f 75 73 65 2c 20 | 5f 72 6f 6f 74 2e 5f 79 |xmouse, |_root._y|
|00002ff0| 6d 6f 75 73 65 29 20 26 | 26 20 21 74 68 69 73 2e |mouse) &|& !this.|
|00003000| 68 69 74 54 65 73 74 28 | 5f 72 6f 6f 74 2e 5f 78 |hitTest(|_root._x|
|00003010| 6d 6f 75 73 65 2c 20 5f | 72 6f 6f 74 2e 5f 79 6d |mouse, _|root._ym|
|00003020| 6f 75 73 65 29 29 20 7b | 0a 09 09 09 09 74 68 69 |ouse)) {|.....thi|
|00003030| 73 2e 6f 6e 4d 6f 75 73 | 65 44 6f 77 6e 20 3d 20 |s.onMous|eDown = |
|00003040| 75 6e 64 65 66 69 6e 65 | 64 3b 0a 09 09 09 09 74 |undefine|d;.....t|
|00003050| 68 69 73 2e 6f 70 65 6e | 4f 72 43 6c 6f 73 65 28 |his.open|OrClose(|
|00003060| 66 61 6c 73 65 29 3b 0a | 09 09 09 7d 0a 09 09 7d |false);.|...}...}|
|00003070| 0a 09 7d 0a 09 74 68 69 | 73 2e 63 68 61 6e 67 65 |..}..thi|s.change|
|00003080| 46 6c 61 67 3d 66 61 6c | 73 65 3b 0a 09 74 68 69 |Flag=fal|se;..thi|
|00003090| 73 2e 6f 6e 4d 6f 75 73 | 65 55 70 3d 75 6e 64 65 |s.onMous|eUp=unde|
|000030a0| 66 69 6e 65 64 3b 0a 09 | 63 6c 65 61 72 49 6e 74 |fined;..|clearInt|
|000030b0| 65 72 76 61 6c 28 74 68 | 69 73 2e 64 72 61 67 53 |erval(th|is.dragS|
|000030c0| 63 72 6f 6c 6c 69 6e 67 | 29 3b 0a 09 74 68 69 73 |crolling|);..this|
|000030d0| 2e 64 72 61 67 53 63 72 | 6f 6c 6c 69 6e 67 20 3d |.dragScr|olling =|
|000030e0| 20 75 6e 64 65 66 69 6e | 65 64 3b 0a 7d 0a 0a 46 | undefin|ed;.}..F|
|000030f0| 43 6f 6d 62 6f 42 6f 78 | 43 6c 61 73 73 2e 70 72 |ComboBox|Class.pr|
|00003100| 6f 74 6f 74 79 70 65 2e | 6d 6f 76 65 53 65 6c 42 |ototype.|moveSelB|
|00003110| 79 20 3d 20 66 75 6e 63 | 74 69 6f 6e 28 69 74 65 |y = func|tion(ite|
|00003120| 6d 4e 75 6d 29 0a 7b 0a | 09 69 66 20 28 69 74 65 |mNum).{.|.if (ite|
|00003130| 6d 4e 75 6d 21 3d 30 29 | 20 7b 0a 09 09 73 75 70 |mNum!=0)| {...sup|
|00003140| 65 72 2e 6d 6f 76 65 53 | 65 6c 42 79 28 69 74 65 |er.moveS|elBy(ite|
|00003150| 6d 4e 75 6d 29 3b 0a 09 | 09 69 66 20 28 74 68 69 |mNum);..|.if (thi|
|00003160| 73 2e 65 64 69 74 61 62 | 6c 65 29 20 7b 0a 09 09 |s.editab|le) {...|
|00003170| 09 74 68 69 73 2e 73 65 | 74 56 61 6c 75 65 28 74 |.this.se|tValue(t|
|00003180| 68 69 73 2e 67 65 74 53 | 65 6c 65 63 74 65 64 49 |his.getS|electedI|
|00003190| 74 65 6d 28 29 2e 6c 61 | 62 65 6c 29 3b 0a 09 09 |tem().la|bel);...|
|000031a0| 7d 0a 09 09 69 66 20 28 | 21 74 68 69 73 2e 6f 70 |}...if (|!this.op|
|000031b0| 65 6e 65 64 29 20 7b 0a | 09 09 09 69 66 20 28 74 |ened) {.|...if (t|
|000031c0| 68 69 73 2e 63 68 61 6e | 67 65 46 6c 61 67 20 26 |his.chan|geFlag &|
|000031d0| 26 20 21 74 68 69 73 2e | 69 73 53 65 6c 65 63 74 |& !this.|isSelect|
|000031e0| 65 64 28 74 68 69 73 2e | 6c 61 73 74 53 65 6c 65 |ed(this.|lastSele|
|000031f0| 63 74 65 64 29 29 20 7b | 0a 09 09 09 09 74 68 69 |cted)) {|.....thi|
|00003200| 73 2e 66 69 72 65 43 68 | 61 6e 67 65 28 29 3b 0a |s.fireCh|ange();.|
|00003210| 09 09 09 7d 0a 09 09 7d | 0a 09 7d 0a 7d 0a 0a 46 |...}...}|..}.}..F|
|00003220| 43 6f 6d 62 6f 42 6f 78 | 43 6c 61 73 73 2e 70 72 |ComboBox|Class.pr|
|00003230| 6f 74 6f 74 79 70 65 2e | 6d 79 4f 6e 4b 65 79 44 |ototype.|myOnKeyD|
|00003240| 6f 77 6e 20 3d 20 66 75 | 6e 63 74 69 6f 6e 28 29 |own = fu|nction()|
|00003250| 0a 7b 0a 09 69 66 20 28 | 21 74 68 69 73 2e 66 6f |.{..if (|!this.fo|
|00003260| 63 75 73 65 64 29 20 72 | 65 74 75 72 6e 20 3b 0a |cused) r|eturn ;.|
|00003270| 09 69 66 20 28 74 68 69 | 73 2e 65 64 69 74 61 62 |.if (thi|s.editab|
|00003280| 6c 65 20 26 26 20 4b 65 | 79 2e 69 73 44 6f 77 6e |le && Ke|y.isDown|
|00003290| 28 4b 65 79 2e 45 4e 54 | 45 52 29 29 20 7b 0a 09 |(Key.ENT|ER)) {..|
|000032a0| 09 74 68 69 73 2e 73 65 | 74 56 61 6c 75 65 28 74 |.this.se|tValue(t|
|000032b0| 68 69 73 2e 66 4c 61 62 | 65 6c 5f 6d 63 2e 67 65 |his.fLab|el_mc.ge|
|000032c0| 74 4c 61 62 65 6c 28 29 | 29 3b 0a 09 09 74 68 69 |tLabel()|);...thi|
|000032d0| 73 2e 65 78 65 63 75 74 | 65 43 61 6c 6c 62 61 63 |s.execut|eCallbac|
|000032e0| 6b 28 29 3b 0a 09 09 74 | 68 69 73 2e 6f 70 65 6e |k();...t|his.open|
|000032f0| 4f 72 43 6c 6f 73 65 28 | 66 61 6c 73 65 29 3b 0a |OrClose(|false);.|
|00003300| 09 7d 20 0a 09 65 6c 73 | 65 20 69 66 20 28 20 28 |.} ..els|e if ( (|
|00003310| 4b 65 79 2e 69 73 44 6f | 77 6e 28 4b 65 79 2e 45 |Key.isDo|wn(Key.E|
|00003320| 4e 54 45 52 29 20 7c 7c | 20 28 4b 65 79 2e 69 73 |NTER) ||| (Key.is|
|00003330| 44 6f 77 6e 28 4b 65 79 | 2e 53 50 41 43 45 29 26 |Down(Key|.SPACE)&|
|00003340| 26 21 74 68 69 73 2e 65 | 64 69 74 61 62 6c 65 29 |&!this.e|ditable)|
|00003350| 29 20 26 26 20 74 68 69 | 73 2e 6f 70 65 6e 65 64 |) && thi|s.opened|
|00003360| 29 20 7b 0a 09 09 69 66 | 20 28 74 68 69 73 2e 67 |) {...if| (this.g|
|00003370| 65 74 53 65 6c 65 63 74 | 65 64 49 6e 64 65 78 28 |etSelect|edIndex(|
|00003380| 29 21 3d 74 68 69 73 2e | 6c 61 73 74 53 65 6c 65 |)!=this.|lastSele|
|00003390| 63 74 65 64 29 20 7b 0a | 09 09 09 74 68 69 73 2e |cted) {.|...this.|
|000033a0| 66 69 72 65 43 68 61 6e | 67 65 28 29 3b 0a 09 09 |fireChan|ge();...|
|000033b0| 7d 0a 0a 09 09 74 68 69 | 73 2e 6f 70 65 6e 4f 72 |}....thi|s.openOr|
|000033c0| 43 6c 6f 73 65 28 66 61 | 6c 73 65 29 3b 0a 09 09 |Close(fa|lse);...|
|000033d0| 74 68 69 73 2e 66 4c 61 | 62 65 6c 5f 74 78 74 2e |this.fLa|bel_txt.|
|000033e0| 68 73 63 72 6f 6c 6c 20 | 3d 20 30 3b 0a 09 7d 0a |hscroll |= 0;..}.|
|000033f0| 09 73 75 70 65 72 2e 6d | 79 4f 6e 4b 65 79 44 6f |.super.m|yOnKeyDo|
|00003400| 77 6e 28 29 3b 0a 7d 0a | 0a 0a 46 43 6f 6d 62 6f |wn();.}.|..FCombo|
|00003410| 42 6f 78 43 6c 61 73 73 | 2e 70 72 6f 74 6f 74 79 |BoxClass|.prototy|
|00003420| 70 65 2e 66 69 6e 64 49 | 6e 70 75 74 54 65 78 74 |pe.findI|nputText|
|00003430| 20 3d 20 66 75 6e 63 74 | 69 6f 6e 28 29 0a 7b 0a | = funct|ion().{.|
|00003440| 09 69 66 20 28 21 74 68 | 69 73 2e 65 64 69 74 61 |.if (!th|is.edita|
|00003450| 62 6c 65 29 20 7b 0a 09 | 09 73 75 70 65 72 2e 66 |ble) {..|.super.f|
|00003460| 69 6e 64 49 6e 70 75 74 | 54 65 78 74 28 29 3b 0a |indInput|Text();.|
|00003470| 09 7d 0a 7d 0a 0a 46 43 | 6f 6d 62 6f 42 6f 78 43 |.}.}..FC|omboBoxC|
|00003480| 6c 61 73 73 2e 70 72 6f | 74 6f 74 79 70 65 2e 6f |lass.pro|totype.o|
|00003490| 6e 4c 61 62 65 6c 46 6f | 63 75 73 20 3d 20 66 75 |nLabelFo|cus = fu|
|000034a0| 6e 63 74 69 6f 6e 28 29 | 0a 7b 0a 09 74 68 69 73 |nction()|.{..this|
|000034b0| 2e 5f 70 61 72 65 6e 74 | 2e 5f 70 61 72 65 6e 74 |._parent|._parent|
|000034c0| 2e 74 61 62 46 6f 63 75 | 73 65 64 20 3d 20 66 61 |.tabFocu|sed = fa|
|000034d0| 6c 73 65 3b 0a 09 74 68 | 69 73 2e 5f 70 61 72 65 |lse;..th|is._pare|
|000034e0| 6e 74 2e 5f 70 61 72 65 | 6e 74 2e 66 6f 63 75 73 |nt._pare|nt.focus|
|000034f0| 65 64 20 3d 20 74 72 75 | 65 3b 0a 09 0a 09 74 68 |ed = tru|e;....th|
|00003500| 69 73 2e 6f 6e 4b 65 79 | 44 6f 77 6e 20 3d 20 66 |is.onKey|Down = f|
|00003510| 75 6e 63 74 69 6f 6e 28 | 29 0a 09 7b 0a 09 09 74 |unction(|)..{...t|
|00003520| 68 69 73 2e 5f 70 61 72 | 65 6e 74 2e 5f 70 61 72 |his._par|ent._par|
|00003530| 65 6e 74 2e 6d 79 4f 6e | 4b 65 79 44 6f 77 6e 28 |ent.myOn|KeyDown(|
|00003540| 29 3b 0a 09 7d 0a 09 4b | 65 79 2e 61 64 64 4c 69 |);..}..K|ey.addLi|
|00003550| 73 74 65 6e 65 72 28 74 | 68 69 73 29 3b 0a 7d 0a |stener(t|his);.}.|
|00003560| 0a 46 43 6f 6d 62 6f 42 | 6f 78 43 6c 61 73 73 2e |.FComboB|oxClass.|
|00003570| 70 72 6f 74 6f 74 79 70 | 65 2e 62 75 74 74 6f 6e |prototyp|e.button|
|00003580| 50 72 65 73 73 48 61 6e | 64 6c 65 72 20 3d 20 66 |PressHan|dler = f|
|00003590| 75 6e 63 74 69 6f 6e 28 | 29 0a 7b 09 0a 09 74 68 |unction(|).{...th|
|000035a0| 69 73 2e 5f 70 61 72 65 | 6e 74 2e 70 72 65 73 73 |is._pare|nt.press|
|000035b0| 48 61 6e 64 6c 65 72 28 | 29 3b 0a 7d 0a 0a 23 65 |Handler(|);.}..#e|
|000035c0| 6e 64 69 6e 69 74 63 6c | 69 70 0a 0a 74 68 69 73 |ndinitcl|ip..this|
|000035d0| 2e 64 65 61 64 50 72 65 | 76 69 65 77 2e 5f 76 69 |.deadPre|view._vi|
|000035e0| 73 69 62 6c 65 20 3d 20 | 66 61 6c 73 65 3b 00 00 |sible = |false;..|
|000035f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003600| 00 00 00 01 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003610| 00 00 00 00 80 00 00 00 | 80 0a 0f 41 63 74 69 6f |........|...Actio|
|00003620| 6e 73 20 3a 20 43 6c 61 | 73 73 01 01 01 ff ff ff |ns : Cla|ss......|
|00003630| ff ff 4f 4f ff 00 00 00 | 00 01 00 00 00 00 00 00 |..OO....|........|
|00003640| 01 00 00 00 00 00 00 80 | 00 00 00 80 03 07 00 00 |........|........|
|00003650| 00 00 00 | |... | |
+--------+-------------------------+-------------------------+--------+--------+